Created
May 28, 2015 12:10
-
-
Save eatonphil/a9a86f5d2c92cb5f0705 to your computer and use it in GitHub Desktop.
OWebl Nginx Bare Minimum Config
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
upstream app { | |
least_conn; | |
server localhost:9090; | |
} | |
server { | |
listen 80; | |
# Uncomment these if you want nginx to serve your static files. | |
#location ~ \.(png|jpeg|jpg|css|js|ico|ttf|woff) { | |
# root /home/.../static; | |
#} | |
location / { | |
proxy_pass http://app; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment