Re: 404 Not Found while accessing the file

2021-08-03 Thread Maxim Dounin
Hello! On Wed, Aug 04, 2021 at 04:12:21AM +0530, Kaushal Shriyan wrote: [...] > Thanks Maxim and it worked like a charm. Thanks for the confirmation. > Is there a way to set the default > permission to 700 whenever the user uploads the file in the nginx docroot? > Is there an Nginx config that

Re: 404 Not Found while accessing the file

2021-08-03 Thread Kaushal Shriyan
On Tue, Aug 3, 2021 at 11:37 PM Maxim Dounin wrote: > Hello! > > On Tue, Aug 03, 2021 at 09:13:06PM +0530, Kaushal Shriyan wrote: > > > On Mon, Aug 2, 2021 at 11:18 PM Maxim Dounin wrote: > > > > > On Mon, Aug 02, 2021 at 09:12:59PM +0530, Kaushal Shriyan wrote: > > > > > > > I am running nginx

nginx getimagesize from local server: 403

2021-08-03 Thread Vincent M.
Hello all, I have a 403 error when trying to use the PHP function getimagesize on nginx based web server: list($imageWidth, $imageHeight) = getimagesize($imagesSource['Main']); Where $imageSource['Main'] is like: https://mywebsite/include/php/render/canvas/VR/2/image/U35p/ver//bgColor/ff

Re: 404 Not Found while accessing the file

2021-08-03 Thread Maxim Dounin
Hello! On Tue, Aug 03, 2021 at 09:13:06PM +0530, Kaushal Shriyan wrote: > On Mon, Aug 2, 2021 at 11:18 PM Maxim Dounin wrote: > > > On Mon, Aug 02, 2021 at 09:12:59PM +0530, Kaushal Shriyan wrote: > > > > > I am running nginx version: nginx/1.20.1 on CentOS Linux release 7.9.2009 > > > (Core).

Re: Nginx with big geo maps affects whole system performance on reload

2021-08-03 Thread Maxim Dounin
Hello! On Tue, Aug 03, 2021 at 01:00:50PM -0400, SannisDev wrote: > Thanks for your quick answer! > > >> I'm running Nginx 1.20.1 on CentOS 8.4.2105 with a quite large geo maps, > >> including country/isp/connection for both IPv4 and IPv6, with raw size > about > >> 80Mb. > >> Hardware is: 2x In

Re: Nginx with big geo maps affects whole system performance on reload

2021-08-03 Thread SannisDev
Thanks for your quick answer! >> I'm running Nginx 1.20.1 on CentOS 8.4.2105 with a quite large geo maps, >> including country/isp/connection for both IPv4 and IPv6, with raw size about >> 80Mb. >> Hardware is: 2x Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz, 64Gb RAM >> >> On nginx testconf or relo

Re: 404 Not Found while accessing the file

2021-08-03 Thread Kaushal Shriyan
On Mon, Aug 2, 2021 at 11:18 PM Maxim Dounin wrote: > Hello! > > On Mon, Aug 02, 2021 at 09:12:59PM +0530, Kaushal Shriyan wrote: > > > I am running nginx version: nginx/1.20.1 on CentOS Linux release 7.9.2009 > > (Core). When I am accessing > > > https://dsmadeveloperportal.mydomain.com/sites/de

Re: Nginx with big geo maps affects whole system performance on reload

2021-08-03 Thread Maxim Dounin
Hello! On Tue, Aug 03, 2021 at 09:13:07AM -0400, SannisDev wrote: > I'm running Nginx 1.20.1 on CentOS 8.4.2105 with a quite large geo maps, > including country/isp/connection for both IPv4 and IPv6, with raw size about > 80Mb. > Hardware is: 2x Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz, 64Gb RA

Nginx with big geo maps affects whole system performance on reload

2021-08-03 Thread SannisDev
I'm running Nginx 1.20.1 on CentOS 8.4.2105 with a quite large geo maps, including country/isp/connection for both IPv4 and IPv6, with raw size about 80Mb. Hardware is: 2x Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz, 64Gb RAM On nginx testconf or reload I'm experiencing increase of running nginx la

Re: Resurrecting the Async Open Discussion

2021-08-03 Thread Roman Arutyunyan
Hi, On Sun, Jul 25, 2021 at 07:33:20AM -0400, NCviQwilt wrote: > Hello, > > This is a follow up on the discussion started 3 years ago at: > https://forum.nginx.org/read.php?29,280794,280794 > I can't respond at that forum or topic, so I hope this is the right place. Actually, it would be really