Thanks for your thoughts, I really appreciate it!
I know nginx is all about speed, and reading a file each time can be a
waste of resources (hence no htaccess). I’m not skilled in module
development, but do you think it would be possible either as a custom
module, or using the embedded perl module to accomplish this?
There are a few things that I want to do besides the maintenance page,
and basically they require the ability of setting a variable to the
contents of a text file, which allows nginx to make some decisions,
instead of checking for the existence of lots of files. Lets say I have
10 things I want nginx to do… wouldn’t checking for the existence of
10 different files have more overhead than just reading the contents of
For example the access key module. Right now the access key signature is
defined in the config file, and supports variables. So instead of
changing the config file to change the signature, I could set the
signature to a variable, and have that variable read each time from a
text file, that could change anytime I wanted (and be different for
different directories), without having to edit the config file and
reload from command line.