Skip to content

Commit

Permalink
Update default
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyaindigo authored Mar 20, 2022
1 parent 2877c59 commit b97dc31
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions default
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ server {
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 4h;
ssl_session_tickets on;
ssl_protocols TLSv1.3 TLSv1.2;
ssl_ecdh_curve secp384r1;
ssl_protocols TLSv1.3 TLSv1.2;
ssl_ecdh_curve secp384r1;
add_header Strict-Transport-Security 'max-age=63072000; includeSubdomains; preload' always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Robots-Tag "noindex, nofollow" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Xss-Protection "1; mode=block" always;
resolver localhost valid=300s;
ssl_buffer_size 8k;
Expand All @@ -27,14 +27,14 @@ server {
proxy_pass https://youtube.com;
limit_rate 1000k;
proxy_redirect off;
}
}
location /v2ray {
proxy_redirect off;
proxy_redirect off;
proxy_buffering off;
proxy_http_version 1.1;
proxy_pass http://localhost:8008/;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}

0 comments on commit b97dc31

Please sign in to comment.