From 59cf7471b70ccab476f8d37f3d1d66cc34a82396 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 5 Aug 2020 07:50:25 -0400 Subject: [PATCH] roles/pagure: Drop conditional static alias This is managed by Pagure itself using WhiteNoise now. Signed-off-by: Neal Gompa --- roles/pagure/frontend/templates/0_pagure.conf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/roles/pagure/frontend/templates/0_pagure.conf b/roles/pagure/frontend/templates/0_pagure.conf index f5b04c2dee..c608d8024d 100644 --- a/roles/pagure/frontend/templates/0_pagure.conf +++ b/roles/pagure/frontend/templates/0_pagure.conf @@ -90,12 +90,6 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na SSLCertificateChainFile /etc/pki/tls/certs/pagure.io.intermediate.cert SSLCertificateKeyFile /etc/pki/tls/certs/pagure.io.key -{% if env == 'pagure-staging' %} - Alias /static /usr/lib/python3.6/site-packages/pagure/static/ -{% else %} - Alias /static /usr/lib/python2.7/site-packages/pagure/static/ -{% endif %} - ExpiresActive On ExpiresDefault "access plus 1 week" @@ -188,8 +182,6 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na SSLCertificateKeyFile /etc/pki/tls/certs/pagure.io.key {% endif %} - Alias /static /usr/lib/python2.7/site-packages/pagure/static/ - # redirects for sssd docs. # https://pagure.io/fedora-infrastructure/issue/8995 RedirectMatch ^/SSSD.sssd$ https://sssd.io