aboutsummaryrefslogtreecommitdiff
path: root/installation
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@yahoo.co.jp>2018-11-05 04:18:43 +0000
committerHakaba Hitoyo <hakabahitoyo@yahoo.co.jp>2018-11-05 04:18:43 +0000
commit3ea4f9ac8deea09711c80e3ef2cce8d02c64f2ee (patch)
tree0047da637dbf2f6f548822d2e99d0a7841865670 /installation
parentbd97b3614f2353619ab524844d100b6f25527592 (diff)
downloadpleroma-3ea4f9ac8deea09711c80e3ef2cce8d02c64f2ee.tar.gz
Remove Access-Control-Allow-Origin
Diffstat (limited to 'installation')
-rw-r--r--installation/pleroma.nginx1
1 files changed, 0 insertions, 1 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx
index f648336ca..f86239672 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;