Skip to content

Commit

Permalink
Merge pull request #1895 from Automattic/fix/nginx-user
Browse files Browse the repository at this point in the history
fix(dev-env): set the user/group for `nginx` container to `nginx:nginx`
  • Loading branch information
sjinks authored Jun 20, 2024
2 parents 52d5027 + b6cc088 commit c890b99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/dev-env.lando.template.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ services:
command: nginx -g "daemon off;"
environment:
LANDO_NEEDS_EXEC: 1
LANDO_WEBROOT_USER: nginx
LANDO_WEBROOT_GROUP: nginx
volumes:
- ./nginx/extra.conf:/etc/nginx/conf.extra/extra.conf
<% wpVolumes() %>
Expand Down

0 comments on commit c890b99

Please sign in to comment.