I know about the HttpRewriteModule, but I don't really know how to handle regex and I would need to redirect all URLs within a certain directory to another, specifically:
From: example.com/component/tag/whatever
To: example.com/tag/whatever
Could some one tell me how to do this in Nginx?
breakand not withlast. – Guillaume Jun 20 '17 at 09:38last= stop rewriting this request and search for a new matchinglocationblock, andbreak= stop rewriting this request and continue execution within the currentlocationblock – NoChecksum Jan 28 '19 at 17:44