File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -110,27 +110,12 @@ RUN \
110110 # Fix nginx test command line.
111111 sed-patch 's|-g "error_log off;"||' /opt/nginx-proxy-manager/src/backend/internal/nginx.js && \
112112
113- # Make sure nginx runs under the proper user.
114- # sed-patch 's|user root;|user app;|' /etc/nginx/nginx.conf && \
115-
116113 # Remove the `user` directive, since we want nginx to run as non-root.
117114 sed-patch 's|user root;|#user root;|' /etc/nginx/nginx.conf && \
118115
119116 # Make sure nginx loads the stream module.
120117 sed-patch '/daemon off;/a load_module /usr/lib/nginx/modules/ngx_stream_module.so;' /etc/nginx/nginx.conf && \
121118
122- # Adjust paths.
123- # sed-patch 's|/data/|/config/|' /etc/nginx/nginx.conf && \
124- # sed-patch 's|/data/|/config/|' /etc/nginx/conf.d/default.conf && \
125- # sed-patch 's|/data/|/config/|' /opt/nginx-proxy-manager/src/backend/templates/proxy_host.conf && \
126- # sed-patch 's|/logs/|/log/|' /etc/nginx/nginx.conf && \
127- # sed-patch 's|/logs/|/log/|' /etc/nginx/conf.d/default.conf && \
128- # sed-patch 's|/logs/|/log/|' /opt/nginx-proxy-manager/src/backend/templates/proxy_host.conf && \
129-
130- # Adjust the nginx proxy cache path.
131- # sed-patch 's|/var/lib/nginx/cache/|/config/nginx/cache/|' /etc/nginx/nginx.conf && \
132-
133-
134119 # Redirect `/data' to '/config'.
135120 ln -s /config /data && \
136121
You can’t perform that action at this time.
0 commit comments