Pass the Authorization header through to the WSGI app for the DebConf websites
authorNicolas Dandrimont <nicolas@dandrimont.eu>
Mon, 23 Jul 2018 14:30:19 +0000 (22:30 +0800)
committerHéctor Orón Martínez <zumbi@debian.org>
Mon, 23 Jul 2018 14:55:02 +0000 (16:55 +0200)
modules/roles/files/debconf_wafer/debconf18.debconf.org
modules/roles/files/debconf_wafer/wafertest.debconf.org

index a44008a..ef9fc33 100644 (file)
@@ -29,6 +29,8 @@ WSGIDaemonProcess debconf18 \
 
   WSGIProcessGroup debconf18
   WSGIScriptAlias / /srv/debconf-web/debconf18.debconf.org/dc18.dc.o/wsgi.py
+  WSGIPassAuthorization On
+
   <Directory /srv/debconf-web/debconf18.debconf.org/dc18.dc.o>
     <Files wsgi.py>
       Require all granted
index f94f87b..8e33000 100644 (file)
@@ -29,6 +29,8 @@ WSGIDaemonProcess wafertest \
 
   WSGIProcessGroup wafertest
   WSGIScriptAlias / /srv/debconf-web/wafertest.debconf.org/dc18.dc.o/wsgi.py
+  WSGIPassAuthorization On
+
   <Directory /srv/debconf-web/wafertest.debconf.org/dc18.dc.o>
     <Files wsgi.py>
       Require all granted