|
|
@ -15,10 +15,11 @@ server |
|
|
|
location ^~ / { |
|
|
|
location ^~ / { |
|
|
|
proxy_pass http://0.0.0.0:{$PANAL_PORT}/; |
|
|
|
proxy_pass http://0.0.0.0:{$PANAL_PORT}/; |
|
|
|
proxy_set_header Host 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-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
proxy_set_header REMOTE-HOST $remote_addr; |
|
|
|
proxy_set_header REMOTE-HOST $remote_addr; |
|
|
|
|
|
|
|
|
|
|
|
add_header X-Cache $upstream_cache_status; |
|
|
|
add_header X-Cache $upstream_cache_status; |
|
|
|
proxy_ignore_headers Set-Cookie Cache-Control expires; |
|
|
|
proxy_ignore_headers Set-Cookie Cache-Control expires; |
|
|
|
add_header Cache-Control no-cache; |
|
|
|
add_header Cache-Control no-cache; |
|
|
|