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 { .. }
精彩评论