Access-Control-Allow-Origin

This commit is contained in:
Hakaba Hitoyo 2018-01-26 22:58:58 +00:00
parent d49109ca17
commit 9c0c40cf1e
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ server {
server_name example.tld;
location / {
add_header 'Access-Control-Allow-Origin' '*';
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";