nginx only creates one directory level
This commit is contained in:
1 parent
72d3ce37b9
commit
09d386040d
1 file changed
+2
-2
@@ -54,9 +54,9 @@ http {
|
||||
proxy_cache_lock on;
|
||||
proxy_cache_use_stale updating;
|
||||
# temporary files in shared memory
|
||||
proxy_temp_path /dev/shm/nginx/tmp 1;
|
||||
proxy_temp_path /dev/shm/nginx-tmp 1;
|
||||
# change this to /config/cache/nginx for a persistent cache
|
||||
proxy_cache_path /dev/shm/nginx/cache levels=1:2:2 keys_zone=gunicorn:4m inactive=48h max_size=256m min_free=16m;
|
||||
proxy_cache_path /dev/shm/nginx-cache levels=1:2:2 keys_zone=gunicorn:4m inactive=48h max_size=256m min_free=16m;
|
||||
|
||||
# X-Forwarded-Host (pass-through, or set)
|
||||
map $http_x_forwarded_host $x_forwarded_host {
|
||||
|
||||
Reference in new issue
Block a user