March 09, 2017 10:57AM
Hi Maxim,

thanks for the reply. The use case that I have is when php-fpm is running as a user different than the nginx one. In this case the permissions being set as 0700 basically deny any manipulation of the cached files from php scripts. Everytime you try something like this you get permission denied.

A similar scenario and possible solution which unfortunately doesn't work is described in this thread.

https://github.com/rtCamp/nginx-helper/issues/63
Subject Author Posted

Fastcgi_cache permissions

maznislav March 09, 2017 09:05AM

RE: Fastcgi_cache permissions

Maxim Ozerov March 09, 2017 10:00AM

Re: RE: Fastcgi_cache permissions

maznislav March 09, 2017 10:57AM

RE: RE: Fastcgi_cache permissions

Reinis Rozitis March 09, 2017 12:26PM

RE: RE: Fastcgi_cache permissions

Maxim Ozerov March 09, 2017 12:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 326
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