added to nginx docker - www-data is now part of nginx group, and tmp folder allow nginx group to read and execute
This commit is contained in:
@@ -16,7 +16,9 @@ RUN mkdir -p /var/log/nginx/
|
||||
|
||||
# create user www-data and assign it to group www-data
|
||||
RUN adduser -S www-data && \
|
||||
adduser www-data www-data
|
||||
adduser www-data www-data && \
|
||||
adduser www-data nginx && \
|
||||
chmod +rwx /var/lib/nginx/tmp
|
||||
|
||||
ARG WP_URL
|
||||
ARG MAX_UPLOAD_SIZE
|
||||
|
||||
Reference in New Issue
Block a user