Skip to content

Commit 37e557d

Browse files
committed
fix: NGINX PID default path has changed in NGINX 1.27.5
ported from nginx/docker-nginx-unprivileged@862160b Signed-off-by: Kim Brose <[email protected]>
1 parent d2ff7ff commit 37e557d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

containers/widget-server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN set -x\
1111
&& chown -R 101:0 /etc/nginx \
1212
&& chmod -R g+w /etc/nginx \
1313
&& sed -i '/user nginx;/d' /etc/nginx/nginx.conf \
14-
&& sed -i 's,/var/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf
14+
&& sed -i 's,\(/var\)\{0\,1\}/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf
1515

1616
# The nginx base image already creates the nginx user with UID 101 and GUI 101
1717
USER 101

0 commit comments

Comments
 (0)