diff --git a/proxy/Caddyfile b/proxy/Caddyfile index c155caf..1fff47a 100644 --- a/proxy/Caddyfile +++ b/proxy/Caddyfile @@ -73,6 +73,11 @@ torrent.{$DOMAIN} http://torrent.{$DOMAIN} { import errorhandler } +*.{$DOMAIN} http://*.{$DOMAIN} { + error 404 + import errorhandler +} + root-ca.{$DOMAIN} http://root-ca.{$DOMAIN} { file_server * { root /usr/share/caddy/web diff --git a/proxy/web/error.html b/proxy/web/error.html new file mode 100644 index 0000000..2315a15 --- /dev/null +++ b/proxy/web/error.html @@ -0,0 +1,35 @@ + + + + + + Fehler + + + + + +

{{placeholder "http.error.status_code"}}

+ + {{placeholder "http.error.status_text"}} + + + + + +