feat: add 503.html to httpd error pages
All checks were successful
ci / treefmt (push) Successful in 3m23s

This commit is contained in:
Ceferino Patino 2026-06-08 11:21:53 -05:00
commit c317936c18
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI
3 changed files with 10 additions and 9 deletions

8
flake.lock generated
View file

@ -144,11 +144,11 @@
"dotfiles": {
"flake": false,
"locked": {
"lastModified": 1779301977,
"narHash": "sha256-Gr3njd230vAAsd4M41o2JFyUFYG483VU1Z6fogd65iU=",
"lastModified": 1780935381,
"narHash": "sha256-8xrov5RPy/IeqVDaRZme4k5OA3ggBV5sWg201YQePbc=",
"ref": "main",
"rev": "4cd0ddf24f1cf510afadcdcba421df095cd5cd6c",
"revCount": 98,
"rev": "1e5eeaf39c49cf556e737c6b263c50c38f52b9e9",
"revCount": 99,
"type": "git",
"url": "https://git.cpatino.com/c4patino/dotfiles"
},

@ -1 +1 @@
Subproject commit 4cd0ddf24f1cf510afadcdcba421df095cd5cd6c
Subproject commit 1e5eeaf39c49cf556e737c6b263c50c38f52b9e9

View file

@ -129,6 +129,7 @@ in {
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html
ErrorDocument 503 /503.html
'';
virtualHosts = mkMerge [
@ -155,7 +156,7 @@ in {
RewriteEngine On
${localhostProxyConfig}
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500)\.html$
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500|503)\.html$
RewriteRule ^ - [L,R=404]
'';
};
@ -202,7 +203,7 @@ in {
extraConfig = ''
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500)\.html$
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500|503)\.html$
RewriteRule ^ - [L,R=404]
'';
};
@ -223,7 +224,7 @@ in {
extraConfig = ''
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500)\.html$
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500|503)\.html$
RewriteRule ^ - [L,R=404]
'';
@ -246,7 +247,7 @@ in {
extraConfig = ''
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500)\.html$
RewriteCond %{REQUEST_URI} !^/(400|401|403|404|500|503)\.html$
RewriteRule ^ - [L,R=404]
'';