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 \
124
124
125
125
# Change the HTTP port 80 to the unprivileged port 8080.
126
126
sed-patch 's|80;|8080;|' /etc/nginx/conf.d/default.conf && \
127
+ sed-patch 's|"80";|"8080";|' /etc/nginx/conf.d/default.conf && \
127
128
sed-patch 's|listen 80;|listen 8080;|' /opt/nginx-proxy-manager/templates/letsencrypt-request.conf && \
128
129
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 && \
129
131
sed-patch 's|listen 80 |listen 8080 |' /opt/nginx-proxy-manager/templates/default.conf && \
130
132
131
133
# Change the HTTPs port 443 to the unprivileged port 4443.
132
134
sed-patch 's|443 |4443 |' /etc/nginx/conf.d/default.conf && \
135
+ sed-patch 's|"443";|"4443";|' /etc/nginx/conf.d/default.conf && \
133
136
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 && \
134
138
135
139
# Fix nginx test command line.
136
140
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