nginx only creates one directory level

This commit is contained in:
tcely 2025-03-03 14:09:56 -05:00 committed by GitHub
parent 72d3ce37b9
commit 09d386040d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,9 +54,9 @@ http {
proxy_cache_lock on; proxy_cache_lock on;
proxy_cache_use_stale updating; proxy_cache_use_stale updating;
# temporary files in shared memory # 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 # 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) # X-Forwarded-Host (pass-through, or set)
map $http_x_forwarded_host $x_forwarded_host { map $http_x_forwarded_host $x_forwarded_host {