Reverse proxy for upload

2023-03-16 Thread Marcin Wanat
Hi, i am working on nginx reverse proxy for upload gateway to speed up things worldwide. Infrastructure schema looks like this: Main upload server - EU Upload proxy servers in Asia, Australia, North America etc Upload proxy servers will be connected to main upload servers via Long Fat Network VP

Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Shreenidhi Shedi via nginx
Hi All, I have hosted a nginx server instance and the temp directories are created under /etc/nginx/ $ ls -ld /etc/nginx/*_temp drwx-- 2 nobody root 4096 Mar 16 15:21 /etc/nginx/client_body_temp drwx-- 2 nobody root 4096 Mar 16 15:21 /etc/nginx/fastcgi_temp drwx-- 2 nobody root 4096

Re: Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Sergey A. Osokin
Hi there, On Thu, Mar 16, 2023 at 06:19:42PM +, Shreenidhi Shedi via nginx wrote: > > I have hosted a nginx server instance and the temp directories are created > under /etc/nginx/ > > $ ls -ld /etc/nginx/*_temp > drwx-- 2 nobody root 4096 Mar 16 15:21 /etc/nginx/client_body_temp > drwx-

Re: Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Shreenidhi Shedi via nginx
Hi, Thanks for the response. I'm using nginx from Photon OS. https://github.com/vmware/photon/blob/3.0/SPECS/nginx/nginx.spec Please see the changelog between v1.16.1-6 and v1.16.1-7 -- Shedi From: Sergey A. Osokin Sent: 17 March 2023 00:11 To: Shreenidhi Shedi

Re: Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Sergey A. Osokin
Hi, On Thu, Mar 16, 2023 at 07:05:20PM +, Shreenidhi Shedi wrote: > I'm using nginx from Photon OS. > https://github.com/vmware/photon/blob/3.0/SPECS/nginx/nginx.spec > > Please see the changelog between v1.16.1-6 and v1.16.1-7 Would you mind to share the following, thanks. > Could you shar

Re: Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Sergey A. Osokin
Hi, On Thu, Mar 16, 2023 at 06:19:42PM +, Shreenidhi Shedi via nginx wrote: > > I have hosted a nginx server instance and the temp directories are created > under /etc/nginx/ > > $ ls -ld /etc/nginx/*_temp > drwx-- 2 nobody root 4096 Mar 16 15:21 /etc/nginx/client_body_temp [...] > > A

Re: Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Shreenidhi Shedi via nginx
Hi, Here you go. root@ph3dev:~ # nginx -V nginx version: nginx/1.22.0 built by gcc 7.3.0 (GCC) built with OpenSSL 1.0.2zg-fips 7 Feb 2023 (running with OpenSSL 1.0.2zg 7 Feb 2023) TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/ngi

Re: Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Shreenidhi Shedi via nginx
Thanks for the response Sergey A. Osokin. The problem is these temp locations are configurable parameters. So, from a spec file perspective it's hard to fetch these parameters and change the permissions. As ngnix is already doing the task of changing permission of top directory, is there any p