]> git.hoellein.online Git - vserver/commitdiff
daily autocommit
authormhoellein <mario@hoellein.online>
Thu, 3 Feb 2022 08:37:02 +0000 (09:37 +0100)
committermhoellein <mario@hoellein.online>
Thu, 3 Feb 2022 08:37:02 +0000 (09:37 +0100)
.etckeeper
apache2/sites-available/graphite-web.conf [new file with mode: 0644]
apache2/sites-enabled/graphite-web.conf [new symlink]
graphite/local_settings.py

index 0f6601b04f7158881efa0688be90f29e847443a2..2aa0c08678588efee758cd28bad5041ece620027 100755 (executable)
@@ -484,6 +484,7 @@ maybe chmod 0644 'apache2/sites-available/000-default.conf'
 maybe chmod 0644 'apache2/sites-available/collabora.conf'
 maybe chmod 0644 'apache2/sites-available/default-ssl.conf'
 maybe chmod 0644 'apache2/sites-available/dyndns.conf'
+maybe chmod 0644 'apache2/sites-available/graphite-web.conf'
 maybe chmod 0644 'apache2/sites-available/graphite.conf'
 maybe chmod 0644 'apache2/sites-available/hoellein.online.conf'
 maybe chmod 0644 'apache2/sites-available/http_hoellein.online.conf'
diff --git a/apache2/sites-available/graphite-web.conf b/apache2/sites-available/graphite-web.conf
new file mode 100644 (file)
index 0000000..1ae86c0
--- /dev/null
@@ -0,0 +1,22 @@
+<VirtualHost *:80>
+
+       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 /static/ /usr/share/graphite-web/static/
+       <Location "/static/">
+               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>
+
diff --git a/apache2/sites-enabled/graphite-web.conf b/apache2/sites-enabled/graphite-web.conf
new file mode 120000 (symlink)
index 0000000..d437162
--- /dev/null
@@ -0,0 +1 @@
+../sites-available/graphite-web.conf
\ No newline at end of file
index 84884868e2a28e819d49b09dcb87d91e9c6c66d0..71711a8f63da464776b1a1014ac86336ea76c565 100644 (file)
@@ -266,7 +266,7 @@ DATABASES = {
         'NAME': 'graphite',
         'ENGINE': 'django.db.backends.mysql',
         'USER': 'graphite',
-        'PASSWORD': 'StrongP@Ssword',
+        'PASSWORD': 'xbUOkdAkW2rsWp4hzZMJo7kr+G83c50svl7OuJsZ7OGW',
         'HOST': '127.0.0.1',
         'PORT': ''
     }