Access-Control-Allow-Origin
This commit is contained in:
parent
d49109ca17
commit
9c0c40cf1e
|
@ -22,6 +22,7 @@ server {
|
||||||
server_name example.tld;
|
server_name example.tld;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
add_header 'Access-Control-Allow-Origin' '*';
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
Loading…
Reference in New Issue