daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen [::]:80;
  3.     listen 69.90.197.68:80;
  4.     server_name link.boutiquecannabis.ca;
  5.  
  6.     location / {
  7.          return 301 https://link.boutiquecannabis.ca$request_uri;
  8.     }
  9. }
  10.  
  11. server {
  12.     listen [::]:443 ssl;
  13.     listen 69.90.197.68:443 ssl;
  14.     server_name link.boutiquecannabis.ca;
  15.  
  16.     ssl_certificate            /etc/letsencrypt/live/link.boutiquecannabis.ca/fullchain.pem;
  17.     ssl_certificate_key        /etc/letsencrypt/live/link.boutiquecannabis.ca/privkey.pem;
  18.     ssl_trusted_certificate    /etc/letsencrypt/live/link.boutiquecannabis.ca/chain.pem;
  19.  
  20.     #include h5bp/directive-only/ssl.conf;
  21.  
  22.     location / {
  23.  
  24.         proxy_set_header    Host $host;
  25.         proxy_redirect      off;
  26.         proxy_set_header    X-Real-IP $remote_addr;
  27.         proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
  28.         proxy_set_header    X-Forwarded-Proto $scheme;
  29.  
  30.         proxy_ssl_session_reuse on;
  31.         proxy_send_timeout 300s;
  32.  
  33.         proxy_pass        https://sendgrid.net;
  34.     }
  35. }
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