Advertisement
Guest User

Untitled

a guest
Aug 27th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. server {
  2. listen 443 ssl spdy;
  3. listen [::]:443 ssl spdy;
  4. server_name cd0.us www.cd0.us *.cd0.us;
  5.  
  6. root /kek/no/ty;
  7. index index.html index.htm index.php;
  8.  
  9. ssl on;
  10. ssl_certificate /etc/ssl/cd0.us/cd0.us.crt;
  11. ssl_certificate_key /etc/ssl/cd0.us/cd0.us.key;
  12.  
  13. ssl_stapling on;
  14. ssl_stapling_verify on;
  15. ssl_trusted_certificate /etc/ssl/cd0.us/full_chain.pem;
  16. resolver 8.8.8.8 8.8.4.4 valid=300s;
  17. resolver_timeout 5s;
  18.  
  19. add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
  20. add_header X-Frame-Options "DENY";
  21. add_header X-Content-Type-Options nosniff;
  22.  
  23. if ($bad_client) { return 403; }
  24. if ($bad_referer) { return 444; }
  25.  
  26. location = /favicon.ico {
  27. log_not_found off;
  28. access_log off;
  29. }
  30.  
  31. location = /robots.txt {
  32. allow all;
  33. log_not_found off;
  34. access_log off;
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement