A comprehensive guide covering Caddy web server configuration, including building custom modules with XCaddy, setting up SSL certificates with Let's Encrypt, configuring systemd services, and implementing various server configurations like reverse proxying and on-demand TLS.

•2m read time•From hackmd.io
Post cover image
Table of contents
(1) Install XCaddy(2) Install the Golang development tools(3) Build a custom Caddy executable with the modules you'd like(4) Update the SystemD service caddy.service to use your custom built CaddyIP Filtering / IP Access List ( IP ACL ) / IP WhitelistUsing LetsEncrypt (Certbot) Staging / Testing ServerForwarding incoming IP address to proxied applicationPassing various information about the connection / client / site config to the backendHandling static files / Route URI strippingAccess LogsRedirectsMultiple Domains / Sub-domains per blockWildcard SSL without DNS using TLS on demand (SSL/TLS On-Demand)Listen on a port and allow any domain, without SSLURL Re-writing (like .htaccess or index.php query strings)
3 Comments

Sort: