diff --git a/data/tpl/nginx_panel.conf b/data/tpl/nginx_panel.conf index 37bf663c9..4c6ecaf1b 100755 --- a/data/tpl/nginx_panel.conf +++ b/data/tpl/nginx_panel.conf @@ -15,10 +15,11 @@ server location ^~ / { proxy_pass http://0.0.0.0:{$PANAL_PORT}/; proxy_set_header Host 0.0.0.0:{$PANAL_PORT}; + + proxy_http_version 1.1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; - add_header X-Cache $upstream_cache_status; proxy_ignore_headers Set-Cookie Cache-Control expires; add_header Cache-Control no-cache;