Access-Control-Allow-Origin
authorHakaba Hitoyo <hakabahitoyo@yahoo.co.jp>
Fri, 26 Jan 2018 22:58:58 +0000 (22:58 +0000)
committerHakaba Hitoyo <hakabahitoyo@yahoo.co.jp>
Fri, 26 Jan 2018 22:58:58 +0000 (22:58 +0000)
installation/pleroma.nginx

index 4e88a426ddfc162887e2c49b86879c54c576daab..58d24f81d4847041eee61495591de9aa73a81510 100644 (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";