My fault both 2. and 3. doesn't work. <div><br></div><div>How is the correct notation?</div><div><br></div><div>Micha</div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/23 Micha Glave <span dir="ltr"><<a href="mailto:nginx@migmedia.de" target="_blank">nginx@migmedia.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<div><br></div><div>I wan't to allow just the local-IPv4-Subnet. Something like this:</div><div><br></div><div>listen *:80;</div>
<div>allow <a href="http://192.168.42.0/24" target="_blank">192.168.42.0/24</a>;</div><div>deny all;</div>
<div><br></div><div>After switching to IPv6-Dual-Layer I tried this ...</div><div><br></div><div>listen [::]:80;</div><div>allow ::ffff:<a href="http://192.168.42.0/120" target="_blank">192.168.42.0/120</a>;</div><div>deny all; </div>
<div>
<br></div><div><br></div><div>It doesn't work as expected. No one can see the page. </div><div>The following works: </div><div><br></div><div>listen [::]:80;</div>allow ::ffff:c0a8:2a00/120;<br>deny all; <div><br></div>
<div>In my opinion there should be a warning at the second. But it fails silently.</div><div><br></div><div>Should I post a bug-report for this?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Micha </div>
</font></span></blockquote></div><br></div>