Welcome! Log In Create A New Profile

Advanced

Re: NGINX serving data via NFS mount

Jonathan Matthews
August 12, 2013 07:50AM
On 12 Aug 2013 09:41, "Rakshith" <nginx-forum@nginx.us> wrote:
>
> So here is what the export policy looks like:
>
> Policy Rule Access Client RO
> Vserver Name Index Protocol Match Rule
> ------------ --------------- ------ -------- ---------------------
> ---------
> vs0 default 1 any 0.0.0.0/0 any

That means nothing to me (in this nginx context). You need to check *file*
permissions/ownership at the Unix FS level.

> So i would like my nginx server as below:
>
> Receive GET/PUT request from a client.
> Forward the request to the NFS client via the NFS mount point.
> The NFS client which has mounted the file system would then use NFS to
fetch
> the file.

You need to explain this better. Nginx won't give a damn that the file is
on NFS, but what you're explaining has nothing to do with nginx! Nginx
doesn't talk "NFS" in any way.

> So to summarize, nginx server just acts like a proxy here..

Given what you've explained, this is wrong. I /think/ you want Nginx to
serve filesystem-accessible files (admittedly stored on a filer) and have
got the concept of a proxy here in your head wrongly.

> FYI: I did try doing a GET and PUT via the VFS and it worked.

Demonstrate this test please.

> The config
> file looks something like below:

So if that works, what's the problem?

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: 256
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