fix: use regex on catchall root location to fix DEFAULT_ROOT=none test

This commit is contained in:
Nicolas Duchon 2024-05-02 17:49:07 +02:00
parent e6381d8715
commit 24ddafc362
No known key found for this signature in database
GPG key ID: EA3151C66A4D79E7

View file

@ -710,7 +710,7 @@ server {
internal;
}
{{- end }}
location / {
location ^~ / {
return 503;
}
}