Skip to content

Commit

Permalink
Clarify webserver group membership requirement
Browse files Browse the repository at this point in the history
Discussed in spantaleev#412 (Github Issue).
  • Loading branch information
spantaleev committed Mar 23, 2020
1 parent 2c2b55a commit ecd35a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuring-playbook-own-webserver.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For an alternative, make sure to check Method #2 as well.

No matter which external webserver you decide to go with, you'll need to:

1) Make sure your web server user (something like `http`, `apache`, `www-data`, `nginx`) is part of the `matrix` group. You should run something like this: `usermod -a -G matrix nginx`
1) Make sure your web server user (something like `http`, `apache`, `www-data`, `nginx`) is part of the `matrix` group. You should run something like this: `usermod -a -G matrix nginx`. This allows your webserver user to access files owned by the `matrix` group. When using an external nginx webserver, this allows it to read configuration files from `/matrix/nginx-proxy/conf.d`. When using another server, it would make other files, such as `/matrix/static-files/.well-known`, accessible to it.

2) Edit your configuration file (`inventory/host_vars/matrix.<your-domain>/vars.yml`) to disable the integrated nginx server:

Expand Down

0 comments on commit ecd35a8

Please sign in to comment.