Answer the question
In order to leave comments, you need to log in
How to rewrite uri using nginx?
URI /WCP_TEST00/ru_RU/?N="WebUser"&P=&C="code=codecs
Must be changed to /WCP_TEST00/ru_RU/?N="WebUser"&P=&C="code : codecs "
make upstream to server_name2
do this
location / {
rewrite_log on;
rewrite ^/(.*code)=(.*)$ $1:$2";
proxy_pass https://server_name2;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question