Hi,
need some help with dynamic proxy_pass, currently my config looks like this:
#####
location ~ /(.*)/(.*) {
proxy_pass http://192.168.0.55:8080/$1_app/services/$2;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#####
it works for every request exept the one with "?" in the request.
example:
requested URL: http://local.lan/TEST/
GET /TEST_app/services/ HTTP/1.0" 200 537
requested URL: http://local.lan/TEST/mspws2.0?wsdl
"GET /TEST_app/services/mspws2.0 HTTP/1.0" 500 277
what happens to "?wsdl" ? how can i escape "?" char?
Best Regards,
Kristijan
need some help with dynamic proxy_pass, currently my config looks like this:
#####
location ~ /(.*)/(.*) {
proxy_pass http://192.168.0.55:8080/$1_app/services/$2;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#####
it works for every request exept the one with "?" in the request.
example:
requested URL: http://local.lan/TEST/
GET /TEST_app/services/ HTTP/1.0" 200 537
requested URL: http://local.lan/TEST/mspws2.0?wsdl
"GET /TEST_app/services/mspws2.0 HTTP/1.0" 500 277
what happens to "?wsdl" ? how can i escape "?" char?
Best Regards,
Kristijan