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: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready