From 4ede5351be121e8841cc46a83c0e2762bfc3df37 Mon Sep 17 00:00:00 2001 From: Codex Agent Date: Thu, 4 Dec 2025 15:00:50 +0100 Subject: [PATCH] this should fix docusaurus assets --- docker/nginx/default.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index b8abbd0..1c67192 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -24,12 +24,7 @@ server { fastcgi_buffers 8 16k; } - location ~* \.(jpg|jpeg|gif|png|css|js|ico|svg|webp|woff2?)$ { - expires 30d; - access_log off; - } - - location /internal-docs/ { + location ^~ /internal-docs/ { # Docusaurus static build lives in app-code volume at /var/www/html/docs/site/build alias /var/www/html/docs/site/build/; index index.html; @@ -41,5 +36,10 @@ server { add_header Cache-Control "private, no-store"; } + location ~* \.(jpg|jpeg|gif|png|css|js|ico|svg|webp|woff2?)$ { + expires 30d; + access_log off; + } + client_max_body_size 32m; }