Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. server {
  2.  
  3. listen 443;
  4. server_name wac.tryndus.com;
  5. ssl_certificate /etc/letsencrypt/live/tryndus.com/fullchain.pem;
  6. ssl_certificate_key /etc/letsencrypt/live/tryndus.com/privkey.pem;
  7. ssl on;
  8. ssl_protocols TLSv1.2;
  9. ssl_prefer_server_ciphers on;
  10. ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
  11. ssl_ecdh_curve secp384r1; # Requires nginx >= 1.1.0
  12. ssl_session_cache shared:SSL:10m;
  13. ssl_session_tickets off; # Requires nginx >= 1.5.9
  14. ssl_stapling on; # Requires nginx >= 1.3.7
  15. ssl_stapling_verify on; # Requires nginx => 1.3.7
  16. add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
  17.  
  18. # ssl_dhparam /etc/ssl/certs/dhparam.pem;
  19. location / {
  20.  
  21. #auth_basic "Restricted Content";
  22. #auth_basic_user_file /etc/nginx/.htpasswd;
  23. proxy_pass http://192.168.1.248/;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement