Move from apacht to nginx

Jeff Dyke jeff.dyke at
Sun Feb 12 14:28:45 UTC 2017

There is an `allow all` in a location block, but i would recommend that you
determine what part of All is really needed from your Apache config and
apply only those rules that need to make the site work.  I used apache in
exactly this nature for a while and then dug in and found that i only
needed one or two of the directives that can go after AllowOverride.  This
is not direct help i realize but comparing what allow all does and
AllowOverride All does will allow you to make the best, most secure choice
for your environment, the default is None and so many configurations change
this to All for a quick fix, but when changing webservers, give it a second

location ~  /blah/fe {
  allow all;

I found that i never had to use this in nginx except for serving
lets-encrypt certs out a directory, in nginx, but i use it more of a proxy
for scala apps.


On Sun, Feb 12, 2017 at 8:19 AM, Daniel <daniel at> wrote:

> Hi there,
> i still moving from Apache to nginx.
> I have a config part in apache which i dont understand how to convert it
> correct to nginx.
>         <Directory /var/www/vhosts/blah/fe>
>                 RewriteBase /
>                 Options FollowSymLinks
>                 AllowOverride All
>                 DirectoryIndex index.php
>         </Directory>
> <Directory /var/www/vhosts/blah/fe/static>
>                 Options +FollowSymLinks -Indexes
>                 AllowOverride none
>         </Directory>
> i Know that this has to be done in locations what how? ;)
> Cheers
> Daniel
> _______________________________________________
> nginx mailing list
> nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list