diff --git a/roles/distgit/pagure/templates/z_pagure.conf b/roles/distgit/pagure/templates/z_pagure.conf index 2f1ed01598..afd0f958dc 100644 --- a/roles/distgit/pagure/templates/z_pagure.conf +++ b/roles/distgit/pagure/templates/z_pagure.conf @@ -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]