From 337a139167d07f513f084829d7ec4691f1fe4189 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 12 Jul 2023 08:06:01 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2ea6460..b21f6da 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -22,10 +22,7 @@ location / { set $proxpass "http://127.0.0.1:__PORT_UI__"; - if ($http_accept ~ "^application/activity+json") { - set $proxpass "http://127.0.0.1:__PORT__"; - } - if ($http_accept = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"") { + if ($http_accept ~ "^application/.*$") { set $proxpass "http://127.0.0.1:__PORT__"; } if ($request_method = POST) {