CORS headers to apache vhost config
This commit is contained in:
parent
b63fc27e47
commit
7a54d5025f
@ -1,4 +1,4 @@
|
|||||||
version: "2"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
pica:
|
pica:
|
||||||
image: thebluestbird/pica-standalone:latest
|
image: thebluestbird/pica-standalone:latest
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
<Location /pica>
|
<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"
|
ProxyPass "unix:/run/pica/pica.sock|fcgi://localhost"
|
||||||
ProxyPassReverse "http://localhost"
|
ProxyPassReverse "http://localhost"
|
||||||
</Location>
|
</Location>
|
||||||
|
Loading…
Reference in New Issue
Block a user