Full URL parameter in nginx

iivan nginx-forum at forum.nginx.org
Tue Jul 26 07:46:19 UTC 2016


Hi Francis,
first of all, thank you for your intervention.

Look:

## nginx rule: 
rewrite ^/(.*)?$ /index.cfm?event=saveURL=$1$is_args$args last; 

## this URL: 
http://www.mywebsite.com/http://www.anotherwebsite.com/index.php?lvl=cmspage&pageid=14&id_article=52


## Return only: 
http://www.anotherwebsite.com/index.php?lvl=cmspage

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267813,268462#msg-268462



More information about the nginx mailing list