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 \
110
110
# Fix nginx test command line.
111
111
sed-patch 's|-g "error_log off;"||' /opt/nginx-proxy-manager/src/backend/internal/nginx.js && \
112
112
113
- # Make sure nginx runs under the proper user.
114
- # sed-patch 's|user root;|user app;|' /etc/nginx/nginx.conf && \
115
-
116
113
# Remove the `user` directive, since we want nginx to run as non-root.
117
114
sed-patch 's|user root;|#user root;|' /etc/nginx/nginx.conf && \
118
115
119
116
# Make sure nginx loads the stream module.
120
117
sed-patch '/daemon off;/a load_module /usr/lib/nginx/modules/ngx_stream_module.so;' /etc/nginx/nginx.conf && \
121
118
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
-
134
119
# Redirect `/data' to '/config'.
135
120
ln -s /config /data && \
136
121
You can’t perform that action at this time.
0 commit comments