summaryrefslogtreecommitdiffstats
path: root/system/graphite-web/graphite-web.conf
diff options
context:
space:
mode:
author Mario Preksavec2015-02-27 21:30:02 +0100
committer Willy Sudiarto Raharjo2015-02-27 21:30:02 +0100
commite3c8c6afff14d8f8fec396709117b30cfd207aae (patch)
tree099d47c17385a377727f9bf08622b93c5a9df8c3 /system/graphite-web/graphite-web.conf
parent46e7f74c3c1ffb67267f8cf290646467b9bd4818 (diff)
downloadslackbuilds-e3c8c6afff14d8f8fec396709117b30cfd207aae.tar.gz
system/graphite-web: Added (Enterprise Scalable Realtime Graphing).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/graphite-web/graphite-web.conf')
-rw-r--r--system/graphite-web/graphite-web.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/system/graphite-web/graphite-web.conf b/system/graphite-web/graphite-web.conf
new file mode 100644
index 0000000000..983db9ce83
--- /dev/null
+++ b/system/graphite-web/graphite-web.conf
@@ -0,0 +1,31 @@
+# This line needs to be in your server's config.
+#Include /etc/httpd/extra/mod_wsgi.conf
+
+WSGISocketPrefix /var/run/wsgi
+
+<VirtualHost *:80>
+
+ ServerName graphite
+ ServerAlias graphite.*
+
+ WSGIDaemonProcess graphite processes=5 threads=5 display-name='%{GROUP}' inactivity-timeout=120 user=graphite group=graphite
+ WSGIProcessGroup graphite
+ WSGIApplicationGroup %{GLOBAL}
+ WSGIImportScript /usr/share/graphite-web/graphite.wsgi process-group=graphite application-group=%{GLOBAL}
+ WSGIScriptAlias / /usr/share/graphite-web/graphite.wsgi
+
+ <Directory /usr/share/graphite-web/>
+ Order deny,allow
+ Allow from all
+ Require all granted
+ </Directory>
+
+ Alias /content/ /usr/share/graphite-web/static/content/
+ <Location /content/>
+ SetHandler None
+ </Location>
+
+ ErrorLog /var/log/httpd/graphite_error_log
+ CustomLog /var/log/httpd/graphite_access_log common
+
+</VirtualHost>