G J Piper
Regular Pleskian
The setting "Serve static files directly by nginx" allows you to list all the file extensions that will be handled by nginx directly. It creates case-sensitive location block(s) in the settings file, like so:
location ~ ^/(.*\.(ac3|etc|etc|etc|zip))$ {
try_files $uri @fallback;
}
Shouldn't it be like the following, so that it can be case insensitive and reduce the number of file extension permutations we need to include in the field? --
location ~* ^/(.*\.(ac3|etc|etc|etc|zip))$ {
try_files $uri @fallback;
}
Or is it designed so we must enter every conceivable case of every file extension in the field? Is there some reason why someone would want a certain case of file ext to be served but not it's counterpart?
location ~ ^/(.*\.(ac3|etc|etc|etc|zip))$ {
try_files $uri @fallback;
}
Shouldn't it be like the following, so that it can be case insensitive and reduce the number of file extension permutations we need to include in the field? --
location ~* ^/(.*\.(ac3|etc|etc|etc|zip))$ {
try_files $uri @fallback;
}
Or is it designed so we must enter every conceivable case of every file extension in the field? Is there some reason why someone would want a certain case of file ext to be served but not it's counterpart?