2023-04-23 10:15:38 +00:00
|
|
|
location ^~ /test {
|
|
|
|
proxy_pass http://1panel.cloud/;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
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;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
2024-07-26 07:01:40 +00:00
|
|
|
proxy_set_header Connection $http_connection;
|
2023-10-08 07:12:15 +00:00
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
2023-04-23 10:15:38 +00:00
|
|
|
proxy_http_version 1.1;
|
|
|
|
add_header X-Cache $upstream_cache_status;
|
2024-09-06 06:33:50 +00:00
|
|
|
add_header Cache-Control no-cache;
|
|
|
|
proxy_ssl_server_name off;
|
2024-10-09 06:42:56 +00:00
|
|
|
proxy_ssl_name $proxy_host;
|
2023-04-23 10:15:38 +00:00
|
|
|
}
|