distgit: iad2 also runs rhel8 and thus python 3.6 so adjust the path to the static files
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
64773f2049
commit
aacd00cdc1
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ Alias /robots.txt /var/www/robots-src.txt
|
|||
# If it does, use it
|
||||
RewriteRule "^/static/(.*)" "/usr/share/pagure_dist_git/static/$1" [L]
|
||||
# Otherwise back out and use the default static folder/theme
|
||||
{% 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