Skip to content

Instantly share code, notes, and snippets.

@robintw
Last active August 29, 2015 14:21
Show Gist options
  • Save robintw/3e6a583ef505abee58a0 to your computer and use it in GitHub Desktop.
Save robintw/3e6a583ef505abee58a0 to your computer and use it in GitHub Desktop.
Apache2 VirtualHost configuration for Graphite on Port 81
<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