staging / CORS: apache syntax fixes

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2021-08-30 17:55:43 -07:00
parent 6e4117cb94
commit 19188af5b0
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
DocumentRoot /srv/web/fedora.im/ DocumentRoot /srv/web/fedora.im/
<IfModule mod_headers.c> <IfModule mod_headers.c>
Header add 'Access-Control-Allow-Origin: *' Header add Access-Control-Allow-Origin "*"
</IfModule> </IfModule>
RewriteEngine On RewriteEngine On

View file

@ -1,6 +1,6 @@
<LocationMatch "/srv/web/.well-known-matrix*" <LocationMatch "/srv/web/.well-known-matrix*">
<IfModule mod_headers.c> <IfModule mod_headers.c>
Header add 'Access-Control-Allow-Origin: *' Header add Access-Control-Allow-Origin "*"
</IfModule> </IfModule>
</LocationMatch> </LocationMatch>