mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
pkgs: use rhel9 python3 in rdu3 more.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user