From bde355072fa4b40474e4dd40d45d6f1bc9ee1421 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 Jan 2023 23:33:35 +0800 Subject: [PATCH] up --- nginx/portainer.stpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx/portainer.stpl b/nginx/portainer.stpl index f95a8b5..ac3ef10 100644 --- a/nginx/portainer.stpl +++ b/nginx/portainer.stpl @@ -4,7 +4,7 @@ # https://docs.hestiacp.com/admin_docs/web.html#how-do-web-templates-work # #=========================================================================# upstream portainer { - server 127.0.1.1:9090; + server 127.0.0.1:9090; } map $http_upgrade $connection_upgrade { default upgrade; @@ -23,7 +23,7 @@ server { include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*; location / { - proxy_pass http://127.0.1.1:8989; + proxy_pass https://%ip%:%web_ssl_port%; location ~* ^.+\.(%proxy_extensions%)$ { root %sdocroot%; access_log /var/log/%web_system%/domains/%domain%.log combined; @@ -58,7 +58,7 @@ server { } location @fallback { - proxy_pass http://127.0.1.1:8989; + proxy_pass https://%ip%:%web_ssl_port%; } location ~ /\.(?!well-known\/|file) {