feat: add 503.html to httpd error pages
All checks were successful
ci / treefmt (push) Successful in 3m23s
All checks were successful
ci / treefmt (push) Successful in 3m23s
This commit is contained in:
parent
8936ee6beb
commit
c317936c18
3 changed files with 10 additions and 9 deletions
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -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
|
||||
|
|
@ -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]
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue