File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -124,13 +124,17 @@ RUN \
124124
125125 # Change the HTTP port 80 to the unprivileged port 8080.
126126 sed-patch 's|80;|8080;|' /etc/nginx/conf.d/default.conf && \
127+ sed-patch 's|"80";|"8080";|' /etc/nginx/conf.d/default.conf && \
127128 sed-patch 's|listen 80;|listen 8080;|' /opt/nginx-proxy-manager/templates/letsencrypt-request.conf && \
128129 sed-patch 's|listen 80;|listen 8080;|' /opt/nginx-proxy-manager/templates/_listen.conf && \
130+ sed-patch 's|:80;|:8080;|' /opt/nginx-proxy-manager/templates/_listen.conf && \
129131 sed-patch 's|listen 80 |listen 8080 |' /opt/nginx-proxy-manager/templates/default.conf && \
130132
131133 # Change the HTTPs port 443 to the unprivileged port 4443.
132134 sed-patch 's|443 |4443 |' /etc/nginx/conf.d/default.conf && \
135+ sed-patch 's|"443";|"4443";|' /etc/nginx/conf.d/default.conf && \
133136 sed-patch 's|listen 443 |listen 4443 |' /opt/nginx-proxy-manager/templates/_listen.conf && \
137+ sed-patch 's|:443;|:4443;|' /opt/nginx-proxy-manager/templates/_listen.conf && \
134138
135139 # Fix nginx test command line.
136140 sed-patch 's|-g "error_log off;"||' /opt/nginx-proxy-manager/internal/nginx.js && \
You can’t perform that action at this time.
0 commit comments