SHARE
TWEET

Untitled

a guest Mar 17th, 2018 136 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. upstream web {
  2.   ip_hash;
  3.   server web:8081;
  4. }
  5.  
  6. server {
  7.  
  8.     location /static/ {
  9.         autoindex on;
  10.         root /code/static/;
  11.     }
  12.  
  13.     location / {
  14.         proxy_pass http://web/;
  15.     }
  16.     listen 8081;
  17.     server_name localhost;
  18. }
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