Allow connecting to a containers cline via Portainer's web ui

Same fix as my .subfolder fix.
This commit is contained in:
J. Scott Elblein 2020-09-09 23:11:22 -05:00 committed by GitHub
commit dda18487c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,8 @@ server {
set $upstream_proto http; set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_hide_header X-Frame-Options; # Possibly not needed after Portainer 1.20.0 proxy_hide_header X-Frame-Options; # Possibly not needed after Portainer 1.20.0
} }
} }