From d81a4e92809d6dc7d3d3fb4ce85e5f94c1e23f0a Mon Sep 17 00:00:00 2001 From: Niklas Poslovski Date: Tue, 22 May 2018 15:39:29 +0200 Subject: [PATCH] Add access-control-expose-headers to Nginx default config --- installation/pleroma.nginx | 1 + 1 file changed, 1 insertion(+) diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 44905da49..b8abdce22 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -54,6 +54,7 @@ server { add_header 'Access-Control-Allow-Origin' '*' always; add_header 'Access-Control-Allow-Methods' 'POST, GET, OPTIONS' always; add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type' always; + add_header 'Access-Control-Expose-Headers' 'Link, X-RateLimit-Reset, X-RateLimit-Limit, X-RateLimit-Remaining, X-Request-Id' always; if ($request_method = OPTIONS) { return 204; } -- 2.45.2