From 8127066879b8319f858e8a2dbf3bd98dd326e7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 19 Feb 2023 11:49:36 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9d3206d..27bba77 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,9 +6,7 @@ location __PATH__/ { index index.html; - if ($request_method ~* "(GET|POST)") { - more_set_headers "Access-Control-Allow-Origin: *"; - } + more_set_headers "Access-Control-Allow-Origin: *"; location = __PATH__/http-bind { proxy_pass "http://localhost:5290/http-bind";