Created
June 12, 2015 15:50
-
-
Save Aurora0000/0af65d3310e2c7d059fb to your computer and use it in GitHub Desktop.
Use this to setup nginx with Docker/Vagrant for Descant.
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
server { | |
listen 80; | |
server_name example.com; | |
access_log /path/to/descant/access.log; | |
error_log /path/to/descant/error.log; | |
location /static { | |
root /path/to/descant/static; | |
} | |
location / { | |
proxy_pass http://127.0.0.1:8001; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment