Basically I have this nginx.conf file where I receive some parameters from my index.html page form. One of these parameters is called $url and I use it to do a:
proxy_pass $url;The thing is that the operation fails because the $url seem to be encoded and in my error.log file I see something like this:
[error] 18849#18849: *195088 invalid URL prefix in "http%3A%2F%2Fexample.com"However, if I hardcode the operation like this:
proxy_pass or like this:
set $url_backup
proxy_pass $url_backup;it works without any problem.
How can I fix the URL issue ? Thanks
4 Reset to default