Fix https to http

This commit is contained in:
bartbutenaers 2025-03-15 07:42:17 +01:00 committed by GitHub
parent 7a97940f50
commit 732cf9a7c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ location ^~ /{{ .base_path }}/ {
# remove base_url from the path before passing upstream
rewrite ^/{{ .base_path }}/(.*) /$1 break;
proxy_pass http://127.0.0.1:8971;
proxy_pass $scheme://127.0.0.1:8971;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
@ -16,4 +16,4 @@ location ^~ /{{ .base_path }}/ {
access_log off;
}
{{ end }}
{{ end }}