Replace Nginx with Caddy

This commit is contained in:
Oliver Davies 2024-12-26 00:13:42 +00:00
parent dcb3f90393
commit 675f4c6d92
31 changed files with 619 additions and 589 deletions

View file

@ -0,0 +1,12 @@
{
services.caddy.virtualHosts."rebuilding-bristol-js.oliverdavies.uk" = {
useACMEHost = "oliverdavies.uk";
extraConfig = ''
encode gzip
root * /var/www/vhosts/rebuilding-bristol-js.oliverdavies.uk
file_server
header X-Robots-Tag "noindex, nofollow"
'';
};
}