Access-Control-Allow-Origin

This commit is contained in:
Hakaba Hitoyo 2018-01-26 22:58:58 +00:00
parent d49109ca17
commit 9c0c40cf1e

View file

@ -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";