X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fpleroma.nginx;h=f714792daa62a00db3236906f5df1b6ebbe969ac;hb=e47f60c05376b9e2af0c90a984014003aac22104;hp=d882908e4c8347024ca4d1acf961ef3a2804ab77;hpb=d1806ec07f44b617769bc862048df30b8a3336da;p=akkoma diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index d882908e4..f714792da 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -22,6 +22,10 @@ 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"; proxy_pass http://localhost:4000; } @@ -31,6 +35,4 @@ server { proxy_pass http://localhost:4000; } - include snippets/well-known.conf; - }