This is simpler and sufficient.

This commit is contained in:
Ralph Bean 2015-08-18 04:31:45 +00:00
parent ee4c97bab4
commit 0b448771d9

View file

@ -1,10 +1,9 @@
Alias /static /usr/lib/python2.7/site-packages/bodhi/static/ Alias /static /usr/lib/python2.7/site-packages/bodhi/static/
<Directory /usr/lib/python2.7/site-packages/bodhi/static> <FilesMatch ".(eot|ttf|otf|woff)">
# modern browsers require that fonts have this # modern browsers require that fonts have this
SetEnvIf Origin "^http(s)?://(.+\.)?fedoraproject\.org$" AccessControlAllowOrigin=$0 Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Origin %{AccessControlAllowOrigin} env=AccessControlAllowOrigin </FilesMatch>
</Directory>
WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes={{wsgi_procs}} threads={{wsgi_threads}} WSGIDaemonProcess bodhi user=bodhi group=bodhi display-name=bodhi processes={{wsgi_procs}} threads={{wsgi_threads}}
WSGISocketPrefix run/wsgi WSGISocketPrefix run/wsgi