Created
May 28, 2014 13:27
-
-
Save inokappa/d4781d2d68ee2e4ca163 to your computer and use it in GitHub Desktop.
graphite-web.conf
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
# Graphite Web Basic mod_wsgi vhost | |
<VirtualHost *:80> | |
Header set Access-Control-Allow-Origin "*" | |
Header set Access-Control-Allow-Methods "GET, OPTIONS" | |
Header set Access-Control-Allow-Headers "origin, authorization, accept" | |
ServerName graphite-web | |
DocumentRoot "/usr/share/graphite/webapp" | |
ErrorLog /var/log/httpd/graphite-web-error.log | |
CustomLog /var/log/httpd/graphite-web-access.log common | |
Alias /media/ "/usr/lib/python2.6/site-packages/django/contrib/admin/media/" | |
WSGIScriptAlias / /usr/share/graphite/graphite-web.wsgi | |
WSGIImportScript /usr/share/graphite/graphite-web.wsgi process-group=%{GLOBAL} application-group=%{GLOBAL} | |
<Location "/content/"> | |
SetHandler None | |
</Location> | |
<Location "/media/"> | |
SetHandler None | |
</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment