SHARE
TWEET

Untitled

a guest Mar 23rd, 2020 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 80;
  3.     listen [::]:80;
  4.     server_name www.domain.com domain.com;
  5.     return 301 https://domain.com$request_uri;
  6. }
  7. server {
  8.  
  9.     listen 443 ssl http2;
  10.     listen [::]:443 ssl http2;
  11.     server_name domain.com;
  12.        ssl_certificate ssl/xxx.pem;
  13.     ssl_certificate_key ssl/xxx.key;
  14.     ssl_protocols TLSv1.2 TLSv1.3;
  15.     ssl_prefer_server_ciphers on;
  16.     ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
  17.  
  18.     root /var/www/domain.com/htdocs;
  19.     index index.php index.html index.htm;
  20.     include /etc/nginx/bots.d/ddos.conf;
  21.     include /etc/nginx/bots.d/blockbots.conf;
  22.  
  23. include common/wpfc-php73.conf;
  24. include rocket-nginx/default.conf;  
  25.    
  26.     include common/locations-wo.conf;
  27.     include /var/www/domain.com/conf/nginx/*.conf;
  28.    
  29.  
  30.     ##
  31.     # Nginx Bad Bot Blocker Includes
  32.     # REPO: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker
  33.     ##
  34.  
  35.  
  36.  
  37. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top