CORS headers to apache vhost config
This commit is contained in:
parent
b63fc27e47
commit
7a54d5025f
@ -1,4 +1,4 @@
|
||||
version: "2"
|
||||
version: "3"
|
||||
services:
|
||||
pica:
|
||||
image: thebluestbird/pica-standalone:latest
|
||||
|
@ -1,4 +1,9 @@
|
||||
<Location /pica>
|
||||
<IfModule mod_headers.c>
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
Header set Access-Control-Allow-Headers: "*"
|
||||
</IfModule>
|
||||
|
||||
ProxyPass "unix:/run/pica/pica.sock|fcgi://localhost"
|
||||
ProxyPassReverse "http://localhost"
|
||||
</Location>
|
||||
|
Loading…
Reference in New Issue
Block a user