Script to generate that maintenance.html file for taking my websites into maintenance mode
In a recent blog post, I showed you how I was taking my websites into maintenance mode. Shortly afterwards, I wrote about how using $server_name can have odd consequences. Today, I’m writing about the script I just created which will create those maintenance.html files. In this post: FreeBSD 15.0 nginx 1.28.2 bourne shell The script This is the script: Yes, the rm is not necessary, since the file has already been moved. To […]