开发者

Simple .htaccess to nginx

I need help how to convert this simple .htaccess to ngingx format and i r开发者_如何学Goeally have no idea where to start with it. I tried to go through nginx docs but they simply overwhelmed me and I need it done now so please help :)


   RewriteEngine on
   RewriteRule    ^$ app/host/    [L]
   RewriteRule    (.*) app/host/$1 [L]


Write

rewrite  (.*)  /app/host$1;

in your server { .. }

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜