forked from AkkomaGang/akkoma
Access-Control-Allow-Origin
This commit is contained in:
parent
d49109ca17
commit
9c0c40cf1e
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue