Cache permissions problem


I’ve a custom build of nginx (1.4.6) with ngx_cache_purge module (2.1)

In the config file I’ve a cache zone declared like this:
proxy_cache_path /tmp/nginx_cache keys_zone=MYCACHE:10m;
I don’t have specified any “user”
( in
my config.
When I run nginx with my user the cache directory is create with
drwx------ and is owned by my user and my group

The problem is that nothing is written in the cache directory. If I run
nginx with sudo everything works.

Where am I wrong ? Hints ?



Posted at Nginx Forum:,248906,248906#msg-248906

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs