Created
March 15, 2018 06:37
-
-
Save rana-ahmed/9c427df165c812afef3f3bab07e415a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream web { | |
ip_hash; | |
server web:8000; | |
} | |
server { | |
location /static/ { | |
autoindex on; | |
alias /src/static/; | |
} | |
location / { | |
proxy_pass http://web/; | |
} | |
listen 8000; | |
server_name localhost; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment