<p dir="ltr">On 12 Aug 2013 08:34, "Rakshith" <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> Can anybody tell me what are the things needed by nginx to forward the<br>
> request via the NFS mount point?? Changes to the config file as such??</p>
<p dir="ltr">Nothing special is needed in my experience. That's the point of NFS exposing a "normal" file system to user-space applications.</p>
<p dir="ltr">Some things you may wish to check:</p>
<p dir="ltr">Your curl invocation's host doesn't match the config<br>
Are you sure you're hitting that nginx server{}? Try it with vs0 instead of the IP (you may need a hosts file entry, of course)</p>
<p dir="ltr">Check the nginx error log. </p>
<p dir="ltr">Check the permissions, the directory and file ownership are all correct and allow the nginx daemon access - not just on the file you're accessing but all the directories in the FS hierarchy leading to it. Ownership mismatches are a common operational NFS problem</p>

<p dir="ltr">Lastly, I would *never* point nginx to the root of a filer's FS. Even in testing it's a bad idea. Create a directory to hold your content. </p>
<p dir="ltr">Cheers, <br>
Jonathan</p>