daily pastebin goal
66%
SHARE
TWEET

lando varnish

adfaklsdjf Jul 12th, 2018 48 in 25 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. upstream varnish {
  2.   server varnish;
  3. }
  4.  
  5. server {
  6.  
  7.   listen *:443 ssl;
  8.  
  9.   ssl on;
  10.   ssl_certificate           /certs/cert.crt;
  11.   ssl_certificate_key       /certs/cert.key;
  12.  
  13.   ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  14.  
  15.   location / {
  16.  
  17.     proxy_pass            http://varnish;
  18.     proxy_read_timeout    90000000;
  19.     proxy_connect_timeout 90;
  20.     proxy_redirect        off;
  21.  
  22.     proxy_set_header      X-Real-IP $remote_addr;
  23.     proxy_set_header      X-Forwarded-For $proxy_add_x_forwarded_for;
  24.     proxy_set_header      X-Forwarded-Proto https;
  25.     proxy_set_header      X-Forwarded-Port 443;
  26.     proxy_set_header      Host $http_host;
  27.  
  28.   }
  29. }
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