feat: 反向代理配置文件统一 (#6396)
Some checks failed
Build Test / build-linux-binary (push) Failing after -8m40s
Build / SonarCloud (push) Failing after -8m44s
sync2gitee / repo-sync (push) Failing after -8m45s

Refs https://github.com/1Panel-dev/1Panel/issues/6395
This commit is contained in:
zhengkunwang 2024-09-06 14:33:50 +08:00 committed by GitHub
parent 5aad16968b
commit dd1430dbbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,7 @@ location ^~ /test {
proxy_set_header Connection $http_connection;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
add_header X-Cache $upstream_cache_status;
add_header Cache-Control no-cache;
proxy_ssl_server_name off;
}