diff options
author | kaniini <nenolod@gmail.com> | 2018-11-06 21:24:16 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2018-11-06 21:24:16 +0000 |
commit | e1c40b8ca288fe689cd78a96b34276089df3babe (patch) | |
tree | c0df99ef402d2d2834767b15ea213a2ecfc9fe61 /installation | |
parent | a68c18f0ad6befe432e961bd348744b305492524 (diff) | |
parent | 3ea4f9ac8deea09711c80e3ef2cce8d02c64f2ee (diff) | |
download | pleroma-e1c40b8ca288fe689cd78a96b34276089df3babe.tar.gz |
Merge branch 'patch-2' into 'develop'
Remove Access-Control-Allow-Origin in pleroma.nginx
See merge request pleroma/pleroma!424
Diffstat (limited to 'installation')
-rw-r--r-- | installation/pleroma.nginx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 6dc2c9760..65a3cdb4c 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -62,7 +62,6 @@ server { location / { # if you do not want remote frontends to be able to access your Pleroma backend # server, remove these lines. - add_header 'Access-Control-Allow-Origin' '*' always; add_header 'Access-Control-Allow-Methods' 'POST, PUT, DELETE, GET, PATCH, OPTIONS' always; add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, Idempotency-Key' always; add_header 'Access-Control-Expose-Headers' 'Link, X-RateLimit-Reset, X-RateLimit-Limit, X-RateLimit-Remaining, X-Request-Id' always; |