Last active
August 29, 2015 14:21
-
-
Save robintw/3e6a583ef505abee58a0 to your computer and use it in GitHub Desktop.
Apache2 VirtualHost configuration for Graphite on Port 81
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
<VirtualHost *:81> | |
WSGIDaemonProcess _graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 user=_graphite group=_graphite | |
WSGIProcessGroup _graphite | |
WSGIImportScript /usr/share/graphite-web/graphite.wsgi process-group=_graphite application-group=%{GLOBAL} | |
WSGIScriptAlias / /usr/share/graphite-web/graphite.wsgi | |
Alias /content/ /usr/share/graphite-web/static/ | |
<Location "/content/"> | |
SetHandler None | |
</Location> | |
ErrorLog ${APACHE_LOG_DIR}/graphite-web_error.log | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
CustomLog ${APACHE_LOG_DIR}/graphite-web_access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment