Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
projects
:
statistics
>
graphite-web
> graphite-httpd.conf
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File graphite-httpd.conf of Package graphite-web
# You need to manually edit this file to fit your needs. # Read http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGISocketPrefix #WSGISocketPrefix /var/run/wsgi/ #<VirtualHost *:80> # ServerName graphite.example.com # ServerAlias graphite # DocumentRoot "/usr/share/graphite/webapp" # I've found that an equal number of processes & threads tends # to show the best performance for Graphite (ymmv). # WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 # WSGIProcessGroup graphite # WSGIApplicationGroup %{GLOBAL} # WSGIImportScript /etc/graphite/graphite.wsgi process-group=graphite application-group=%{GLOBAL} # WSGIScriptAlias / /etc/graphite/graphite.wsgi # Alias /content/ /usr/share/graphite/webapp/content/ # <Location "/content/"> # SetHandler None # </Location> # Alias /media/ "/usr/lib/python2.6/site-packages/django/contrib/admin/media/" # <Location "/media/"> # SetHandler None # </Location> # The graphite.wsgi file has to be accessible by apache. It won't # be visible to clients because of the DocumentRoot though. # <Directory /etc/graphite/> # Order deny,allow # Allow from all # </Directory> #</VirtualHost>