Handle Dokploy domain prefixes in Nginx
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
Neeldhara Misra 2026-06-13 20:47:57 +02:00
parent 045e1e301f
commit fb5a3b8093

View file

@ -8,6 +8,10 @@ location = /nginx-health {
return 204; return 204;
} }
location ^~ /dist/ {
rewrite ^/dist/[^/]+/?(.*)$ /$1 last;
}
location ~* \.(?:css|js|mjs|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ { location ~* \.(?:css|js|mjs|png|jpg|jpeg|gif|svg|webp|ico|woff2?)$ {
try_files $uri =404; try_files $uri =404;
expires 1y; expires 1y;