pkgs: use rhel9 python3 in rdu3 more.

Signed-off-by: James Antill <james@and.org>
This commit is contained in:
James Antill
2025-07-01 16:56:12 -04:00
parent 1e760f7af8
commit 58e0695082

View File

@@ -18,7 +18,7 @@ Protocols h2 http/1.1
# SSLCertificateChainFile /etc/pki/tls/certs/pagure.io.intermediate.cert
# SSLCertificateKeyFile /etc/pki/tls/certs/pagure.io.key
{% if env == "staging" or datacenter == "iad2" %}
{% if env == "staging" or datacenter == "rdu3" %}
Alias /static /usr/lib/python3.6/site-packages/pagure/static/
{% else %}
Alias /static /usr/lib/python2.7/site-packages/pagure/static/
@@ -45,7 +45,7 @@ RewriteCond "/usr/share/pagure_dist_git/static/$1" -f
RewriteRule "^/static/(.*)" "/usr/share/pagure_dist_git/static/$1" [L]
# Use the application default theme for files not customized
{% if env == "staging" or datacenter == "iad2" %}
{% if env == "staging" or datacenter == "rdu3" %}
RewriteRule "^/static/(.*)" "/usr/lib/python3.6/site-packages/pagure/static/$1" [L]
{% else %}
RewriteRule "^/static/(.*)" "/usr/lib/python2.7/site-packages/pagure/static/$1" [L]