This is simpler and sufficient.
This commit is contained in:
parent
ee4c97bab4
commit
0b448771d9
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue