MONITORING: Graphite-web gate for nginx

This commit is contained in:
Vladimir Vitkov 2017-11-07 15:27:00 +02:00
parent 43da531da8
commit 9ed3f443f4
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
Some files found in this directory are processed by uWSGI init.d script as
uWSGI configuration files.
On system boot for each configuration file new uWSGI daemon instance is started
with additional option. Name of this option is based on configuration file
extension. Path to configuration files is passed as option value.
See more detailed information at:
* /usr/share/doc/uwsgi/README.Debian.gz
* /etc/default/uwsgi

View File

@ -0,0 +1,10 @@
[uwsgi]
processes = 2
socket = 127.0.0.1:3031
gid = www-data
uid = www-data
chdir = /opt/graphite/conf
#wsgi-file = /opt/graphite/conf/graphite.wsgi
pythonpath = /opt/graphite/webapp
env = DJANGO_SETTINGS_MODULE=graphite.settings
module = django.core.wsgi:get_wsgi_application()