404 Not Found while accessing the file

Maxim Dounin mdounin at mdounin.ru
Wed Aug 4 00:28:02 UTC 2021


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 can set the file permission to 700 once the
> user uploads?

Handling user uploads is not something nginx does.  You have to 
set permissions where uploading happens.

Maxim Dounin

More information about the nginx mailing list