forked from AkkomaGang/akkoma
Merge branch 'feature/cross-origin' into 'develop'
Access-Control-Allow-Origin See merge request pleroma/pleroma!52
This commit is contained in:
commit
46c8f79cd7
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