Skip to content
Advertisement

nginx rewrite rule for two php parameters

Can you please help me to write rewrite rule for ngnix :

JavaScript

I tried below rewrite URL but it is not working:

JavaScript

Advertisement

Answer

The regex you’re actually looking for is: https://regex101.com/r/uC1wH6/3

I believe that should be converted into Apache as follows:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement