[damned-lies/oscp] Do not proxy static files



commit de5e0910056cb6a73e60db257edeb71329d88ab3
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Mar 24 10:21:38 2020 +0100

    Do not proxy static files

 httpd/app_data/httpd-cfg/l10n.gnome.org.conf | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/httpd/app_data/httpd-cfg/l10n.gnome.org.conf b/httpd/app_data/httpd-cfg/l10n.gnome.org.conf
index 4e156836..2af2a61c 100644
--- a/httpd/app_data/httpd-cfg/l10n.gnome.org.conf
+++ b/httpd/app_data/httpd-cfg/l10n.gnome.org.conf
@@ -7,6 +7,12 @@
     Alias /media /var/www/djamnedlies/data/media
     Alias /robots.txt /l10n/damnedlies/static/robots.txt
 
+    ProxyPass /HTML !
+    ProxyPass /POT !
+    ProxyPass /static !
+    ProxyPass /media !
+    ProxyPass /robots.txt !
+
     ProxyPass / http://uwsgi.damned-lies.svc.cluster.local:8000/
     ProxyPassReverse / http://uwsgi.damned-lies.svc.cluster.local:8000/
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]