[Vuejs]-Ignore dots or periods in URLs with nginx

1👍

Change the regex to ignore .vite too, like it already ignores .well-known:

location ~ /\.(?!well-known|vite)

But since this is a local dev server, you probably won’t need this rule in the first place, because there is no security issue within your local machine anyway (and if you’d want to test an environment similar to production, then you wouldn’t use a dev server either, and then the rule wouldn’t be an issue).

Leave a comment