Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

dynamic proxy_pass "?" issue

$
0
0
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

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>