Welcome! Log In Create A New Profile

Advanced

Re: NGINX serving data via NFS mount

Jonathan Matthews
August 12, 2013 04:24AM
On 12 Aug 2013 08:34, "Rakshith" <nginx-forum@nginx.us> wrote:
>
> Hi,
>
> Can anybody tell me what are the things needed by nginx to forward the
> request via the NFS mount point?? Changes to the config file as such??

Nothing special is needed in my experience. That's the point of NFS
exposing a "normal" file system to user-space applications.

Some things you may wish to check:

Your curl invocation's host doesn't match the config
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)

Check the nginx error log.

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

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.

Cheers,
Jonathan
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

NGINX serving data via NFS mount

Rakshith August 12, 2013 03:34AM

Re: NGINX serving data via NFS mount

Jonathan Matthews August 12, 2013 04:24AM

Re: NGINX serving data via NFS mount

GreenGecko August 12, 2013 04:26AM

Re: NGINX serving data via NFS mount

Rakshith August 12, 2013 04:41AM

Re: NGINX serving data via NFS mount

Jonathan Matthews August 12, 2013 07:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 210
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready