fix: allow CORS

This commit is contained in:
Alessandro Pezzè 2022-02-25 19:27:32 +01:00 committed by GitHub
parent 42d6dd907e
commit 663c3451b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,6 +100,8 @@ http {
add_header Cache-Control "public";
add_header Pragma public;
# add_header X-Proxy-Cache $upstream_cache_status;
proxy_hide_header Access-Control-Allow-Origin;
add_header Access-Control-Allow-Origin *;
# add_header X-Cache-Date $upstream_http_date;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;