Skip to content

Commit

Permalink
users/stdiscosrv: Fix the unknown variable error when using nginx (sy…
Browse files Browse the repository at this point in the history
…ncthing#453)

* Fix the unknown variable error when using nginx

* Update
  • Loading branch information
misaka00251 authored and calmh committed Jul 16, 2019
1 parent 77f0d04 commit 7d53b89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions users/stdiscosrv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ the Syncthing settings.
proxy_buffering off;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $proxy_connection;
proxy_set_header Connection $http_connection;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header X-SSL-Cert $ssl_client_cert;
upstream discovery.example.com {
# Local IP address:port for discovery server
Expand Down

0 comments on commit 7d53b89

Please sign in to comment.