CORS update

This commit is contained in:
mitch ross 2021-05-12 10:23:38 -04:00 committed by Mitch Ross
parent 5de531f683
commit 81a41285b7

View File

@ -112,6 +112,7 @@ http {
location /api/ { location /api/ {
add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS';
add_header Cache-Control "no-store"; add_header Cache-Control "no-store";
proxy_pass http://frigate_api/; proxy_pass http://frigate_api/;
proxy_pass_request_headers on; proxy_pass_request_headers on;