Advertisement
Guest User

Untitled

a guest
Apr 8th, 2020
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 1.20 KB | None | 0 0
  1. server
  2. {
  3.         listen 0.0.0.0:443 ssl;
  4.         listen [::]:443 ssl;
  5.  
  6.         ssl_certificate /etc/certs/test1/fullchain.pem;
  7.         ssl_certificate_key /etc/certs/test1/key.pem;
  8.         ssl_protocols TLSv1.2 TLSv1.3;
  9.         ssl_ciphers EECDH+AESGCM:EDH+AESGCM;
  10.         ssl_prefer_server_ciphers on;
  11.  
  12.         ssl_ecdh_curve secp384r1;
  13.         ssl_session_timeout 10m;
  14.         ssl_session_cache shared:SSL:10m;
  15.         ssl_session_tickets off;
  16.         ssl_stapling on;
  17.         ssl_stapling_verify on;
  18.  
  19.         server_name t1.a.jaegerma.xyz;
  20.  
  21.         location /
  22.         {
  23.                 proxy_set_header Host sniplist.mepaso.net;
  24.                 proxy_pass https://sniplist.mepaso.net;
  25.                 proxy_buffering off;
  26.         }
  27. }
  28. server
  29. {
  30.         listen 0.0.0.0:80;
  31.         listen [::]:80;
  32.  
  33.         server_name t1.a.jaegerma.xyz;
  34.  
  35.         location /
  36.         {
  37.                 if ($http_user_agent ~* "Chrome/8\d")
  38.                 {
  39.                         return 301 https://$host$request_uri;
  40.                 }
  41.  
  42.                 proxy_set_header Host sniplist.mepaso.net;
  43.                 proxy_pass https://sniplist.mepaso.net;
  44.                 proxy_buffering off;
  45.         }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement