chore(nginx): Disabled static handling for _astro, assets, docs, and pagefind in Nginx

This commit is contained in:
Данил 2025-03-01 22:03:07 +03:00
parent 520df54650
commit b1c234cb5e

View file

@ -1,3 +1,4 @@
root dist;
try_files $uri $uri/ /index.html;
location ~ ^/(_astro|assets|docs|pagefind)/ {
root /etc/nginx/dist;
index index.html;
}