Hello everyone!
I'm fairly new with Nginx. Can you please help me with my rewrite?
What I want to do (if possible) is to combine my location keywords into a single line location, instead of this..
location = /agreement-guide {
rewrite ^ /agreement/agreement-overview.html permanent;
}
location = /agreement-faq {
rewrite ^ /agreement/agreement-overview.html permanent;
}
location = /agreement {
rewrite ^ /agreement/agreement-overview.html permanent;
}
Now, my issue is that the first two works but the last location directive doesnt. Can someone please enlighten me why?
Thank you in advance!
Edited 1 time(s). Last edit at 10/02/2014 01:07PM by alexbon.