[damned-lies/oscp] Configure httpd_min to use uwsgi
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Configure httpd_min to use uwsgi
- Date: Wed, 25 Mar 2020 23:16:46 +0000 (UTC)
commit d2d996eab8a95cd3ecb335e6ca152f189cc28766
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu Mar 26 00:16:26 2020 +0100
Configure httpd_min to use uwsgi
httpd_min/app_data/httpd-cfg/l10n.gnome.org.conf | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/httpd_min/app_data/httpd-cfg/l10n.gnome.org.conf
b/httpd_min/app_data/httpd-cfg/l10n.gnome.org.conf
index d3dda83a..d9a207fe 100644
--- a/httpd_min/app_data/httpd-cfg/l10n.gnome.org.conf
+++ b/httpd_min/app_data/httpd-cfg/l10n.gnome.org.conf
@@ -7,10 +7,15 @@
Alias /media /var/www/djamnedlies/data/media
Alias /robots.txt /l10n/damnedlies/static/robots.txt
- # mod_wsgi
- WSGIDaemonProcess l10n display-name=%{GROUP} processes=4 home=/l10n python-home=/l10n/venv
python-path=/l10n/damnedlies user=l10n group=l10n
- WSGIProcessGroup l10n
- WSGIScriptAlias / /l10n/damnedlies/damnedlies/wsgi.py
+ ProxyPass /HTML !
+ ProxyPass /POT !
+ ProxyPass /static !
+ ProxyPass /media !
+ ProxyPass /robots.txt !
+
+ ProxyPreserveHost On
+ ProxyPass / http://uwsgi.damned-lies.svc.cluster.local:8000/
+ ProxyPassReverse / http://uwsgi.damned-lies.svc.cluster.local:8000/
# Map .po and .pot files accordingly to the correct Content-Type,
# and also make sure they are rendered as utf-8.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]