diff options
| author | Paul Buetow <paul@buetow.org> | 2025-12-03 01:29:35 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-12-03 01:29:35 +0200 |
| commit | 916f99f92c7e2ec3a34e45dcf3c98d3c023bc2e2 (patch) | |
| tree | 0a7cd467652fabd67b9788973902761a6de202f0 /frontends/Rexfile | |
| parent | 589db6bab74a7ba582f873fef3ffee72aa59ccbe (diff) | |
initial f3s fallback
Diffstat (limited to 'frontends/Rexfile')
| -rw-r--r-- | frontends/Rexfile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile index 95e788a..2964004 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -234,7 +234,11 @@ task 'httpd', append_if_no_such_line '/etc/rc.conf.local', 'httpd_flags='; file '/etc/httpd.conf', - content => template( './etc/httpd.conf.tpl', acme_hosts => \@acme_hosts ), + content => template( + './etc/httpd.conf.tpl', + acme_hosts => \@acme_hosts, + f3s_hosts => \@f3s_hosts + ), owner => 'root', group => 'wheel', mode => '644', @@ -243,6 +247,13 @@ task 'httpd', file '/var/www/htdocs/buetow.org', ensure => 'directory'; file '/var/www/htdocs/buetow.org/self', ensure => 'directory'; + file '/var/www/htdocs/f3s_fallback', ensure => 'directory'; + file '/var/www/htdocs/f3s_fallback/index.html', + source => './var/www/htdocs/f3s_fallback/index.html', + owner => 'root', + group => 'wheel', + mode => '644'; + # For failover health-check. file '/var/www/htdocs/buetow.org/self/index.txt', ensure => 'file', |
