Change default

This commit is contained in:
junyi 2026-07-17 08:34:09 +00:00
parent 866987d3ed
commit 885493a7d1
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class SiteConstruct
" proxy_redirect off;\n"+
" proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n"+
" proxy_set_header Host $http_host;\n"+
(port == "443" ? " proxy_set_header X-Forwarded-Proto https;\n" : "")+
" proxy_set_header X-Forwarded-Proto $scheme;\n"+
" proxy_connect_timeout 360;\n"+
" proxy_pass http://#{self.get_site_name}_sock;\n"+
" }\n"+