Browse Source

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

Refs https://github.com/1Panel-dev/1Panel/issues/6395
pull/6400/head
zhengkunwang 3 months ago committed by GitHub
parent
commit
dd1430dbbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      cmd/server/nginx_conf/proxy.conf

3
cmd/server/nginx_conf/proxy.conf

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

Loading…
Cancel
Save