Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. server {
  2. listen 443 default_server;
  3. listen [::]:443 default_server;
  4. server_name xyz;
  5.  
  6. root /var/www/xyz/public_html;
  7.  
  8. location / {
  9. try_files $uri $uri/ =404;
  10.  
  11. }
  12. index index.html index.html index.php;
  13.  
  14. ssl on;
  15. ssl_certificate /etc/nginx/ssl/cloudflare.pem;
  16. ssl_certificate_key /etc/nginx/ssl/cloudflare.key;
  17. ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  18. ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
  19. ssl_prefer_server_ciphers on;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement