Add websocket support

This commit is contained in:
aptalca 2019-04-18 13:33:59 -04:00 committed by GitHub
parent cbe9bb54bc
commit 2904813fff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,8 @@ location ^~ /medusa {
#error_page 401 =200 /login;
include /config/nginx/proxy.conf;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
resolver 127.0.0.11 valid=30s;
set $upstream_medusa medusa;
proxy_pass http://$upstream_medusa:8081;