feat: 反向代理配置文件统一 (#6396)

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;
}