projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
provide instance thumbnail at /api/v1/instance (debug)
[akkoma]
/
installation
/
pleroma.nginx
diff --git
a/installation/pleroma.nginx
b/installation/pleroma.nginx
index 4e88a426ddfc162887e2c49b86879c54c576daab..f714792daa62a00db3236906f5df1b6ebbe969ac 100644
(file)
--- a/
installation/pleroma.nginx
+++ b/
installation/pleroma.nginx
@@
-22,6
+22,7
@@
server {
server_name example.tld;
location / {
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_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
@@
-34,6
+35,4
@@
server {
proxy_pass http://localhost:4000;
}
proxy_pass http://localhost:4000;
}
- include snippets/well-known.conf;
-
}
}