vtacquet/caddy

By vtacquet

Updated about 2 months ago

Caddy Proxy v2.10.0 with error pages and extensions (multi-arch amd64/arm64/armv7)

Image
Networking
0

941

vtacquet/caddy repository overview

Description:

Caddy Proxy v2.10.0 (multi-arch amd64/arm64/armv7)

with error pages in the /errors folder as 4xx.html or 5xx.html files, based on shuffle from Tarampampam

Tip

use the following *snippets* in your Caddyfile (errors for internal webserver, upstream_errors for reverse proxy errors)
(errors) {
  handle_errors 4xx 5xx {
    root * /errors
    rewrite * /{err.status_code}.html
    file_server
  }
}

(upstream_errors) {
  @errors status 4xx 5xx
  handle_response @errors {
    root * /errors
    rewrite * /{rp.status_code}.html
    file_server
  }
}

Tip

and import the *snippets* in your *site* block
www.example.com {
  import errors
  root * /site
  file_server
}

reverseproxy.example.com {
  reverse_proxy something:8080 {
    import upstream_errors
  }
}

with the following extensions

github.com/caddyserver/caddy/v2/modules/standard
github.com/mholt/caddy-dynamicdns
github.com/mholt/caddy-l4
github.com/mholt/caddy-webdav
github.com/mholt/caddy-ratelimit
github.com/caddy-dns/ovh
github.com/greenpau/caddy-trace
github.com/greenpau/[email protected]
github.com/porech/caddy-maxmind-geolocation
github.com/oltdaniel/caddy-ipinfo-free
github.com/zhangjiayin/caddy-geoip2
github.com/sjtug/caddy2-filter
github.com/hslatman/caddy-crowdsec-bouncer
github.com/Javex/caddy-fail2ban
github.com/caddyserver/transform-encoder
github.com/muety/caddy-remote-host
github.com/caddyserver/cache-handler
github.com/sjtug/caddy2-filter
github.com/darkweak/storages/otter/caddy

Tag summary

Content type

Image

Digest

sha256:d8b95711a

Size

36.7 MB

Last updated

about 2 months ago

docker pull vtacquet/caddy:v2113