hainguyents13

Untitled

Apr 20th, 2020
592
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 80;
  3.     listen 443 ssl;
  4.  
  5.     server_name www.example.com;
  6.  
  7.     ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; # managed by Certbot
  8.     ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; # managed by Certbot
  9.     include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
  10.     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
  11.  
  12.     return 301 https://example.com$request_uri;
  13. }
  14.  
  15. server {
  16.     listen 443 ssl;
  17.     server_name example.com;
  18.  
  19.     ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; # managed by Certbot
  20.     ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; # managed by Certbot
  21.     include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
  22.     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
  23. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×