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";