27 lines
964 B
Plaintext
27 lines
964 B
Plaintext
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;
|
|
|
|
proxy_hide_header X-Powered-By;
|
|
proxy_hide_header X-Frame-Options;
|
|
add_header X-Frame-Options SAMEORIGIN;
|
|
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;
|