trying to fix custom theme changes

This commit is contained in:
Tim Flink 2017-05-23 04:17:48 +00:00
parent 00adf33c68
commit acb5a6627a
2 changed files with 8 additions and 8 deletions

View file

@ -91,8 +91,8 @@ pagure_ssh_host_sha256: 'SHA256:ggRdzg+ugyR6WIzeiuyASAdEHf+HG5yZqJJIu/YTtHI='
new_pagure_admin_groups: ['sysadmin-main', 'sysadmin-qa']
pagure_instance_name: "Upstream First Pagure"
pagure_theme_static_dir:'/var/www/upstreamfirst-paguretheme/static'
pagure_theme_template_dir:'/var/www/upstreamfirst-paguretheme/templates'
pagure_theme_static_dir: "/var/www/upstreamfirst-paguretheme/static"
pagure_theme_template_dir: "/var/www/upstreamfirst-paguretheme/templates"
stunnel_service: "eventsource"
stunnel_source_port: 8088

View file

@ -117,14 +117,14 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
SSLCipherSuite RC4-SHA:AES128-SHA:ALL:!ADH:!EXP:!LOW:!MD5:!SSLV2:!NULL
SSLProtocol ALL -SSLv2
# Configure static files so that a custom theme can override the defaults
#
RewriteCond "{{ pagure_theme_static_dir }}/$1" -f
RewriteRule "^/static/(.*)" "{{ pagure_theme_static_dir }}/$1" [L]
# Configure static files so that a custom theme can override the defaults
# Use the application default theme for files not customized
RewriteCond "{{ pagure_theme_static_dir }}/$1" -f
RewriteRule "^/static/(.*)" "{{ pagure_theme_static_dir }}/$1" [L]
RewriteRule "^/static/(.*)" "/usr/lib/python2.7/site-packages/pagure/static/$1" [L]
# Use the application default theme for files not customized
RewriteRule "^/static/(.*)" "/usr/lib/python2.7/site-packages/pagure/static/$1" [L]
<Location />
WSGIProcessGroup paguredocs