Skip to content
Snippets Groups Projects
Commit 098a2eb4 authored by nd's avatar nd
Browse files

Update nginx.conf for working post requests

parent 6412780d
Branches
No related tags found
No related merge requests found
Pipeline #16865 failed
pid nginx.pid; pid nginx.pid;
error_log nginx.err.log; error_log nginx.err.log;
...@@ -48,6 +47,9 @@ http { ...@@ -48,6 +47,9 @@ http {
proxy_set_header X-CLIENT-ID "test"; proxy_set_header X-CLIENT-ID "test";
proxy_set_header X-CLIENT-SECRET "testsecret"; proxy_set_header X-CLIENT-SECRET "testsecret";
proxy_pass http://localhost:5002/; proxy_pass http://localhost:5002/;
# those options are needed to have working POST requests
proxy_set_header Content-Length ""
proxy_pass_request_body off
} }
error_page 401 = @error401; error_page 401 = @error401;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment