<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style="-webkit-text-size-adjust: auto;">Replied on SO. Mirroring here:</div><div style="-webkit-text-size-adjust: auto;"><br></div><div><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">Try removing the root and index blocks from the server block. Leave it only in the location block.</span><br><br><span style="-webkit-text-size-adjust: auto;">--</span><div style="-webkit-text-size-adjust: auto;">Kevin Worthington</div><div style="-webkit-text-size-adjust: auto;"><a href="mailto:kworthington@gmail.com">kworthington@gmail.com</a></div><div style="-webkit-text-size-adjust: auto;"><a href="http://kevinworthington.com/">http://kevinworthington.com/</a></div><span style="-webkit-text-size-adjust: auto;"><a href="http://twitter.com/kworthington">http://twitter.com/kworthington</a></span></div><div style="-webkit-text-size-adjust: auto;"><br>On Apr 4, 2014, at 6:01 PM, C0nw0nk W0nky <<a href="mailto:c0nw0nk@hotmail.co.uk">c0nw0nk@hotmail.co.uk</a>> wrote:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr"><br>Thanks for the response i posted my config and tried you way but still no luck nginx delivers dynamic content fine but as for the static content that it should be delivering from the mapped hard drive it just keeps saying 404 not found.<br><div><hr id="stopSpelling">Date: Fri, 4 Apr 2014 16:47:55 -0400<br>Subject: Re: Windows | Nginx Mapped Hard Drive | Network Sharing<br>From: <a href="mailto:kworthington@gmail.com">kworthington@gmail.com</a><br>To: <a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><br><div dir="ltr">Answered your question here:<br><a href="http://stackoverflow.com/questions/22870814/nginx-mapped-hard-drive-network-sharing/22872717#22872717" target="_blank">http://stackoverflow.com/questions/22870814/nginx-mapped-hard-drive-network-sharing/22872717#22872717</a><br>
<br><div class="ecxgmail_extra"><br clear="all"><div>Best regards,<br>Kevin<br>--<br>Kevin Worthington<br><a href="mailto:kworthington@gmail.com" target="_blank">kworthington@gmail.com</a><br><a href="http://kevinworthington.com/" target="_blank">http://kevinworthington.com/</a><br>
<a href="http://twitter.com/kworthington" target="_blank">http://twitter.com/kworthington</a></div>
<br><br><div class="ecxgmail_quote">On Fri, Apr 4, 2014 at 4:30 PM, C0nw0nk W0nky <span dir="ltr"><<a href="mailto:c0nw0nk@hotmail.co.uk" target="_blank">c0nw0nk@hotmail.co.uk</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">



<div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><a href="http://stackoverflow.com/questions/22870814/nginx-mapped-hard-drive-network-sharing" target="_blank">http://stackoverflow.com/questions/22870814/nginx-mapped-hard-drive-network-sharing</a><div>
<br></div><div><br></div><div>So i tried sharing my hard drives on windows and serving the content on them from nginx but nginx returns a 404 not found error every time.</div>                                         </div></div>                                        </div></div>
                                          </div></div>                                        </div></div>                                        </div></div>                                        </div></div>
<br>_______________________________________________<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" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>
<br>_______________________________________________
nginx mailing list
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></div>                                           </div>
</div></blockquote><blockquote type="cite" style="-webkit-text-size-adjust: auto;"><div><span>_______________________________________________</span><br><span>nginx mailing list</span><br><span><a href="mailto:nginx@nginx.org">nginx@nginx.org</a></span><br><span><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></span></div></blockquote></body></html>