How to convert Lighttpd rewrite to NGinx rewrite

Mr.Kingcasino mr.kingcasino at
Tue May 28 08:14:16 UTC 2013

Hi All,

I have a problem in convert Lighttpd rules to Nginx rewrite

This is my Lighttpd rules

"^/pthumb/([^\/]+)\/(.+)$" => "/pthumb/index.php?$1&f=$2"

And this is Nginx Rewrite converted from above Lighttpd rules

rewrite ^/pthumb/([^\/]+)\/(.+)$ /pthumb/index.php?$1&f=$2

But is not work.It very hard for me.

Please help me convert this rules.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list