Hello,
i tried the following config:
add_header XX-method: $request_method;
add_header bla-method: $bla_method;
map $request_method $bla_method {
default $request_method;
0 POST;
BLA POST;
}
server {
listen 80 default;
server_name localhost;
location / {
proxy_method $bla_method;
proxy_pass http://<URL>:8080;
}
}
But it does not work. The problem persists.
Kind Regards,
Benjamin
i tried the following config:
add_header XX-method: $request_method;
add_header bla-method: $bla_method;
map $request_method $bla_method {
default $request_method;
0 POST;
BLA POST;
}
server {
listen 80 default;
server_name localhost;
location / {
proxy_method $bla_method;
proxy_pass http://<URL>:8080;
}
}
But it does not work. The problem persists.
Kind Regards,
Benjamin