diff options
author | Daniel GarcĂa <[email protected]> | 2018-10-26 00:37:34 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-10-26 00:37:34 +0200 |
commit | 8ce4c79612d4718b64545b4bcb41a28dcd2e30e1 (patch) | |
tree | 02de660adcf3e38f16fa2d8339405042e589cabb | |
parent | 31e42372477ed9bcef82a06a3795ec4f6331604f (diff) | |
parent | 77d9641323545de5b92b2ef12e1004ae30dbee28 (diff) | |
download | vaultwarden-8ce4c79612d4718b64545b4bcb41a28dcd2e30e1.tar.gz vaultwarden-8ce4c79612d4718b64545b4bcb41a28dcd2e30e1.zip |
Merge pull request #233 from Toucan-Sam/patch-2
Update PROXY.md
-rw-r--r-- | PROXY.md | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -31,26 +31,25 @@ localhost:443 { ## Nginx (by shauder) ```nginx server { - include conf.d/ssl/ssl.conf; - listen 443 ssl http2; server_name vault.*; - - location /notifications/hub/negotiate { - include conf.d/proxy-confs/proxy.conf; - proxy_pass http://<SERVER>:80; - } - + + # Specify SSL config if using a shared one. + #include conf.d/ssl/ssl.conf; + location / { - include conf.d/proxy-confs/proxy.conf; proxy_pass http://<SERVER>:80; } - + location /notifications/hub { proxy_pass http://<SERVER>:3012; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } + + location /notifications/hub/negotiate { + proxy_pass http://<SERVER>:80; + } } ``` |