distgit/pagure: iad2 has the same rules as staging, python 3.6
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
4d37489f6f
commit
64773f2049
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ WSGIProcessGroup pagureproc
|
|||
# SSLCertificateChainFile /etc/pki/tls/certs/pagure.io.intermediate.cert
|
||||
# SSLCertificateKeyFile /etc/pki/tls/certs/pagure.io.key
|
||||
|
||||
{% if env == "staging" %}
|
||||
{% if env == "staging" or datacenter == "iad2" %}
|
||||
Alias /static /usr/lib/python3.6/site-packages/pagure/static/
|
||||
{% else %}
|
||||
Alias /static /usr/lib/python2.7/site-packages/pagure/static/
|
||||
|
@ -37,7 +37,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" %}
|
||||
{% if env == "staging" or datacenter == "iad2" %}
|
||||
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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue