Skip to content

Commit 1c5d41f

Browse files
committed
Removed commented commands.
1 parent dea4713 commit 1c5d41f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Dockerfile

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)