commit: 493e1bdf52ec7ed99c5cc703dd61f9ca0897c32a
parent: b4064dfe30b792f5d6d36b72c7cd530afb1c667a
Author: lain <lain@soykaf.club>
Date: Tue, 22 May 2018 16:02:53 +0200
Merge branch 'nipos-develop' into develop
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;
}