fixed nginx configuration for subdomains (#11974)

proxy options were missing for the root location
This commit is contained in:
Michele Porelli 2020-02-05 19:43:00 +11:00 committed by GitHub
parent 8a19a172cf
commit d8f2232e86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,10 @@ server {
location / {
proxy_pass http://localhost:8124;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /api/websocket {