Last active
June 29, 2019 22:25
-
-
Save mitchtabian/950860b552ae67771fca078db4921965 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
server { | |
listen 80; | |
server_name <ip>; | |
location = /favicon.ico { access_log off; log_not_found off; } | |
location /static/ { | |
root /home/mitch/djangoprojectdir; | |
} | |
location / { | |
include proxy_params; | |
proxy_pass http://unix:/run/gunicorn.sock; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment