Last active
March 1, 2016 18:54
-
-
Save Nagasaki45/1830411bc5e510c096ae to your computer and use it in GitHub Desktop.
The Xteams Nginx container configuration file for serving static files from shared volume and passing other requests to the web container.
This file contains hidden or 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
worker_processes 4; | |
events { worker_connections 1024; } | |
http { | |
server { | |
listen 8000; | |
location /static { | |
include mime.types; | |
alias /staticfiles; | |
} | |
location / { | |
proxy_pass http://web:8000; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment