Guest User

Untitled

a guest
Mar 17th, 2018
193
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