mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-21 20:46:36 +00:00
nginx
only creates one directory level
This commit is contained in:
parent
72d3ce37b9
commit
09d386040d
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user