Full URL parameter in nginx

iivan nginx-forum at forum.nginx.org
Thu Jun 23 11:10:19 UTC 2016


Hi,
I have this nginx rule:

rewrite ^/(.*)?$ /index.cfm?event=saveURL=$1 last;

- Which makes this work:
http://mywebsite.com/http://notherwebsite.com/page.html

- But if I pass a parameter like this:
http://mywebsite.com/http://notherwebsite.com/page.html?id=1 

cuts off ?id=1

How can I fix this? Thank you!

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



More information about the nginx mailing list