Update unifi.subdomain.conf

Proposed changes remedy a WebSocket Connection Error present in the Web UX when proxying to a 'unstable' 5.9.x letsencrypt/unifi container. Should be fine for stable branch installs as well, of course.
This commit is contained in:
johnthepro 2018-11-30 19:23:34 -08:00 committed by GitHub
parent eed7769c9b
commit f8de2ace16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,9 +40,7 @@ server {
resolver 127.0.0.11 valid=30s;
set $upstream_unifi unifi;
proxy_pass https://$upstream_unifi:8443;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_ssl_verify off;