Welcome! Log In Create A New Profile

Advanced

Apache rewrite rule to nginx one

Posted by microchip 
Apache rewrite rule to nginx one
April 19, 2012 01:41PM
Hi,

I'm trying to convert the following Apache rewrite rule over to nginx rule. Can anybody help? thanks

RewriteRule ^(.*)$ proxy.php?url=$1 [L,QSA]
Re: Apache rewrite rule to nginx one
April 22, 2012 09:10AM
rewrite ^/(.+)$ /proxy.php?url=$1 last;

Try that ... should do what you want ot at least close :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 136
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready