Hi Jonathan, That was exactly the advice I needed. I will spend some time rewriting what I think to be a better way based on your advice and post back here with more clearly defined rules using location a bit more. Thanks :)by rob - Nginx Mailing List - English
As I said Jonathan, I've been told that the above rules can be optimised so that hitting any url in the path I mentioned would run just one rex rule instead of a minimum of 3 currently. I have been told that by an nginx expert but what I have not been told is how to achieve it. I suspect it will be by nesting location {} constructs (is thsat possible) or by having more selective location {} consby rob - Nginx Mailing List - English
bah... please ignore the tags above - assumed this forum software used bbcode.by rob - Nginx Mailing List - English
Hi there, I'm running nginx and xenforo but need to rewrite some old legacy URL's (left over from vbulletin + vbseo).. Here is just a very small selection of my config which I want to optimise as fully as possible:- #Forum 26 main location = /category-name-73/forum-name-26/ { rewrite ^ /forums/forum-name.26/ permanent; } #Forum 26 location /category-name-73/forum-name-26/ {by rob - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |