From b1c234cb5e5653bb47bb4d57911a8b61804e643a Mon Sep 17 00:00:00 2001 From: Redume Date: Sat, 1 Mar 2025 22:03:07 +0300 Subject: [PATCH] chore(nginx): Disabled static handling for _astro, assets, docs, and pagefind in Nginx --- nginx/docs/nginx.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nginx/docs/nginx.conf b/nginx/docs/nginx.conf index f08d409..543c6df 100644 --- a/nginx/docs/nginx.conf +++ b/nginx/docs/nginx.conf @@ -1,3 +1,4 @@ -root dist; - -try_files $uri $uri/ /index.html; \ No newline at end of file +location ~ ^/(_astro|assets|docs|pagefind)/ { + root /etc/nginx/dist; + index index.html; +}