Welcome! Log In Create A New Profile

Advanced

dynamic proxy_pass "?" issue

Posted by janez3k 
dynamic proxy_pass "?" issue
September 25, 2015 10:22AM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 133
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready