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