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; }