-
-
Save stupidbodo/6482314 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 8080 default_server deferred; | |
charset utf-8; | |
access_log /var/log/nginx/graphite.access.log; | |
error_log /var/log/nginx/graphite.error.log; | |
root /opt/graphite/webapp; | |
location /static/admin/ { | |
alias /usr/local/lib/python2.7/site-packages/django/contrib/static/media/; | |
} | |
location /content { | |
} | |
location / { | |
include uwsgi_params; | |
uwsgi_pass unix:/var/run/uwsgi/app/graphite/socket; | |
} | |
} |
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
[uwsgi] | |
plugins = python | |
chdir = /opt/graphite/conf | |
module = wsgi:application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment