<div dir="ltr">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 though.<div><br></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:menlo;font-size:9pt">location ~ <span style="color:rgb(244,244,244);font-family:monaco;font-size:10px;font-variant-ligatures:no-common-ligatures;white-space:normal;background-color:rgba(0,0,0,0.85098)"> /blah/fe</span> {<br>  allow all;<br>}</pre><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:menlo;font-size:9pt"><br></pre>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.</div><div><br></div><div>Jeff</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 12, 2017 at 8:19 AM, Daniel <span dir="ltr"><<a href="mailto:daniel@linux-nerd.de" target="_blank">daniel@linux-nerd.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi there,<div><br></div><div>i still moving from Apache to nginx.</div><div><br></div><div>I have a config part in apache which i dont understand how to convert it correct to nginx.</div><div><br></div><div><br></div><div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">        <Directory /var/www/vhosts/blah/fe></span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">                RewriteBase /</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">                Options FollowSymLinks</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures;background-color:rgb(153,0,0)">                </span><span style="font-variant-ligatures:no-common-ligatures">AllowOverride All</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">                DirectoryIndex index.php</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">        </Directory></span>        </div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><br></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span class="m_-4837445627486239653Apple-tab-span" style="white-space:pre-wrap">   </span><Directory /var/www/vhosts/blah/fe/<wbr>static></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">                Options +FollowSymLinks -Indexes</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">                AllowOverride none</span></div><div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">        </Directory></span></div></div><div><br></div><div>i Know that this has to be done in locations what how? ;)</div><div><br></div><div>Cheers</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Daniel</div></font></span></div><br>______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br></blockquote></div><br></div>