Thank you very much. Your replies are very helpful.by iBobík - How to...
Is this blocking the same like regular load of file to send it by http? Am I correct regexp on file contents before it will be send will have no extra IO (or it will be very fast because of file system cache)?by iBobík - How to...
About blocking by reading files, does it matter when webserver loads files to be able to send them to client? Because on first load OS will usually cache the file in RAM, so it is not problem to load it twice. So in this use-case it should not be slower to run Lua script on each request where it will check if file is redirect and then 301 or let webserver serve it.by iBobík - How to...
About the validation of config files: I trust users enough to give them freedom on their site (hostname), but I don't give them permission to affect other sites in the same server. So if there is some way how to "snadbox" included config file to only one hostname, I will use it. If not, it is enough to validate it if it contains only rewrite rules (if there is not chance to affectby iBobík - How to...
Hello, thank you for reply. It should not check files every request. It can cache it. Or will it be easier to use file with list of redirects in site root (aka .htaccess with Apache) in NginX config syntax? But it have to check if there are only safe rules, because users who can change it are not trusted. Server also should watch this file and reload config if it was changed. I also prefby iBobík - How to...
Hello, we are planning to use Nginx for static websites hosting generated by Jekyll. Sites are generated and deployed directly from GIT by "not trusted" users. "Not trusted" means they are trusted enough to publish something on their websites, but not enough to allow them change Nginx config of shared webserver. Nginx has all pros, but only one negative point: Server redireby iBobík - How to...