diff --git a/testapp/nginx.conf b/testapp/nginx.conf
index 4232b4a620a223e35f4476cb93468ff72a85bd39..f12f0f40c2dfe371ad3beef96f591c1f74bb9415 100644
--- a/testapp/nginx.conf
+++ b/testapp/nginx.conf
@@ -1,4 +1,3 @@
-
 pid nginx.pid;
 error_log nginx.err.log;
 
@@ -48,6 +47,9 @@ http {
 			proxy_set_header X-CLIENT-ID "test";
 			proxy_set_header X-CLIENT-SECRET "testsecret";
 			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;