commit
9f36305489
2 files changed
+19
-1
No files matched your search
+2
-1
@@ -2,6 +2,7 @@ proxy_http_version 1.1;
|
|||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
proxy_request_buffering off;
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
proxy_connect_timeout 3600s;
|
proxy_connect_timeout 3600s;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@@ -19,7 +20,7 @@ add_header X-Content-Type-Options nosniff;
|
|||||||
proxy_hide_header Referrer-Policy;
|
proxy_hide_header Referrer-Policy;
|
||||||
add_header Referrer-Policy strict-origin-when-cross-origin;
|
add_header Referrer-Policy strict-origin-when-cross-origin;
|
||||||
proxy_hide_header Strict-Transport-Security;
|
proxy_hide_header Strict-Transport-Security;
|
||||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload;";
|
#add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload;";
|
||||||
proxy_hide_header Access-Control-Allow-Origin;
|
proxy_hide_header Access-Control-Allow-Origin;
|
||||||
add_header Access-Control-Allow-Origin https://tronnet.net;
|
add_header Access-Control-Allow-Origin https://tronnet.net;
|
||||||
add_header Content-Security-Policy "upgrade-insecure-requests";
|
add_header Content-Security-Policy "upgrade-insecure-requests";
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
server {
|
||||||
|
listen 9987 udp reuseport;
|
||||||
|
proxy_timeout 30s;
|
||||||
|
proxy_pass teamspeak.dmz:9987;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 10011 reuseport;
|
||||||
|
proxy_timeout 30s;
|
||||||
|
proxy_pass teamspeak.dmz:30033;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 30033 reuseport;
|
||||||
|
proxy_timeout 30s;
|
||||||
|
proxy_pass teamspeak.dmz:30033;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user