I'm using a nginx webserver with the fastcgi caching. The fastcgi_cache_path is set to an sub directory of the webroot of each virtual host from nginx. (eg. /var/html/user01/httpdocs/nginx_cache ... /var/html/user02/httpdocs/nginx_cache.
The caching itselfs works fine as i can see in the response headers (x-cache hit) and the saved data in the nginx_cache directorys.
So when i look at the nginx_cache directorys i can see that the owner is always nginx. What i wanted to do, is to set permanently the permissions (read/delete) for the users (user01, user02, ...) for their nginx_cache folder.
What i already tryed: - change recursive all rights to user0x (will be overwritten by nginx for changes and new files) - search for an nginx configuration (only found nginx_store_access which also not work)
How can i solve this problem?