• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Nginx serve static files list should be case insensitive?

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?
 
Hi G J Piper,

Or is it designed so we must enter every conceivable case of every file extension in the field?
It IS exactly the reason, that ONLY files, which are explizit defined, will be served as static files, why the location definition does not include additional file-extension, than the ones that we define. ;)
 
Ok. So for example, JPG, Jpg, jPg, JPg, JpG, jpg, JPEG, Jpeg, JPeg, jPeg, jpeg, etc, ETC, ETc... just to get all the possible customer extensions for one image type? (and do this with the other few dozen types as well?)

Maybe it would be better to have a checkbox to signify insensitive if desired?
 
Hi G J Piper,

sorry, but your examples are not really practical. You should always tell your customers, that file-names and their extensions ( just like all other "system specific names and extensions" ) are expected to be LOWER CASE on linux systems and the customer should be aware, that case-sensitive matters, when it comes to issues/errors/problems. There is absolutely no need to define all possible spellings for an extension.
 
Back
Top