diff --git a/web/client/nginx.conf b/web/client/nginx.conf index 3b34ef1..65cb3ab 100644 --- a/web/client/nginx.conf +++ b/web/client/nginx.conf @@ -1,3 +1,7 @@ +# Texture proxy cache zone (100MB, inactive entries purged after 7 days) +proxy_cache_path /tmp/nginx_texture_cache levels=1:2 keys_zone=textures:10m + max_size=100m inactive=7d use_temp_path=off; + server { listen 80; server_name _; @@ -5,10 +9,6 @@ server { root /usr/share/nginx/html; index index.html; - # Texture proxy cache zone (100MB, inactive entries purged after 7 days) - proxy_cache_path /tmp/nginx_texture_cache levels=1:2 keys_zone=textures:10m - max_size=100m inactive=7d use_temp_path=off; - # Serve static files, fallback to index.html for SPA routing location / { try_files $uri $uri/ /index.html;