2023-04-01 04:18:56 +00:00
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
proxy_buffering off;
|
|
|
|
client_max_body_size 0;
|
|
|
|
proxy_connect_timeout 3600s;
|
|
|
|
proxy_read_timeout 3600s;
|
|
|
|
proxy_send_timeout 3600s;
|
|
|
|
send_timeout 3600s;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
proxy_set_header Host $host;
|
2023-05-22 23:39:08 +00:00
|
|
|
|
|
|
|
proxy_hide_header X-Powered-By;
|
|
|
|
proxy_hide_header X-Frame-Options;
|
2023-05-22 23:45:59 +00:00
|
|
|
add_header X-Frame-Options SAMEORIGIN;
|
2023-05-22 23:39:08 +00:00
|
|
|
proxy_hide_header X-XSS-Protection;
|
|
|
|
add_header X-XSS-Protection 0;
|
|
|
|
proxy_hide_header X-Content-Type-Options;
|
|
|
|
add_header X-Content-Type-Options nosniff;
|
|
|
|
proxy_hide_header Referrer-Policy;
|
|
|
|
add_header Referrer-Policy strict-origin-when-cross-origin;
|
|
|
|
proxy_hide_header Strict-Transport-Security;
|
|
|
|
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload;";
|
|
|
|
proxy_hide_header Access-Control-Allow-Origin;
|
|
|
|
add_header Access-Control-Allow-Origin https://tronnet.net;
|