pagure: point the static url to the static folder in py 3.6 in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
b90a8c4d2a
commit
39d43767a3
1 changed files with 4 additions and 0 deletions
|
@ -90,7 +90,11 @@ 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 %}
|
||||
|
||||
<Location "/static/vendor/emojione/emojione.sprites.png">
|
||||
ExpiresActive On
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue