From dda18487c10edf65b18e6698ffb40261de39b0c9 Mon Sep 17 00:00:00 2001 From: "J. Scott Elblein" Date: Wed, 9 Sep 2020 23:11:22 -0500 Subject: [PATCH] Allow connecting to a containers cline via Portainer's web ui Same fix as my .subfolder fix. --- portainer.subdomain.conf.sample | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portainer.subdomain.conf.sample b/portainer.subdomain.conf.sample index 614eaf9..08dba8e 100644 --- a/portainer.subdomain.conf.sample +++ b/portainer.subdomain.conf.sample @@ -57,6 +57,8 @@ server { set $upstream_proto http; 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 } }