Old FMN: update URL

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard
2023-04-26 11:19:58 +02:00
parent 360e184862
commit 2f47c15198
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ from six.moves.urllib.parse import urljoin
ENV_USERNAME = "SAR_USERNAME"
FMN_INSTANCE = "http://localhost/notifications/"
FMN_INSTANCE = "http://localhost/notifications-old/"
FMN_CONTEXTS = ["email", "irc"]
log = logging.getLogger()

View File

@@ -1,4 +1,4 @@
Alias /notifications/static /usr/share/fmn/static
Alias /notifications-old/static /usr/share/fmn/static
WSGIDaemonProcess fmn user=apache group=apache maximum-requests=1000 display-name=fmn processes={{ wsgi_procs }} threads={{ wsgi_threads }}
WSGISocketPrefix run/wsgi
@@ -6,9 +6,9 @@ WSGIRestrictStdout On
WSGIRestrictSignal Off
WSGIPythonOptimize 1
WSGIScriptAlias /notifications /usr/share/fmn/fmn.web.wsgi
WSGIScriptAlias /notifications-old /usr/share/fmn/fmn.web.wsgi
<Location /notifications>
<Location /notifications-old>
WSGIProcessGroup fmn
Require all granted
</Location>