Fix nginx capatilization

This commit is contained in:
Andrew Morgan 2019-02-01 16:59:23 +00:00
parent 57164e17da
commit da6df65e19
1 changed files with 2 additions and 2 deletions

View File

@ -245,13 +245,13 @@ this problem.
**Using a reverse proxy** **Using a reverse proxy**
A reverse proxy such as Apache or Nginx allows a single process (the web A reverse proxy such as Apache or nginx allows a single process (the web
server) to listen on port 80 and proxy traffic to the appropriate program server) to listen on port 80 and proxy traffic to the appropriate program
running on your server. It is the recommended method for setting up ACME as running on your server. It is the recommended method for setting up ACME as
it allows you to use your existing webserver while also allowing Synapse to it allows you to use your existing webserver while also allowing Synapse to
provision certificates as needed. provision certificates as needed.
For Nginx users, add the following line to your existing ``server`` block:: For nginx users, add the following line to your existing ``server`` block::
location /.well-known/acme-challenge { location /.well-known/acme-challenge {
proxy_pass http://localhost:8009/; proxy_pass http://localhost:8009/;