Visual Caddy server config builder: reverse proxy, static sites, auto HTTPS, redirects
Zero Dependencies · Works OfflineCaddyfile Generatoris Free OnlineCaddy WebserverconfigTools,throughcanvisualization side userFastGenerate Caddyfileconfigfile。supportsReverse Proxy、Static Site、HTTPSautodynamicCertificate、HTTPRedirect、Compression、logetccommonuseconfig。CaddywithAuto HTTPS ,localToolsletconfigmoreSimple。AllGenerateinBrowsetoolLocalcomplete。
1. InputDomain,SelectSite Type(Reverse Proxy/Static Site/Redirect)。
2. writeBackend AddressorSite RootetcParameters。
3. configHTTPS、Compression、logetcOptions。
4. click"Generate Caddyfile",CopyorDownloadconfigfile。
5. 5. Place Caddyfile in Caddy config directory, run caddy run to start.
open needwillDomain toLocalservice(such asNode.js/PythonApply),usethisTools keyGenerateReverse Proxyconfig。
frontendopen deploystatic network ,configCaddyprovidesfileserviceandAuto HTTPS,thanNginxconfigmoresimple 。
network more Domainwhen,GenerateredirconfigwilloldDomainstream RedirecttonewDomain,protected SEO heavy。
CaddyisGolanguageencodewrite Webserver, advantageisAuto HTTPS(throughACMEprotocolautodynamic PleaseLet's EncryptCertificate)。Caddyfile simple : pointblockwith openhead, withaboutkeycharopenhead。commonuse :reverse_proxy(Reverse Proxy)、root(rootdirectory)、file_server(fileservice)、encode(Compression)、redir(Redirect)、log(log)。Caddy v2supportsJSONconfigandAPI ,fitcombinedcontainerizedeploy。Compared to Nginx, Caddy has simpler config but slightly lower performance, ideal for small/medium projects and dev environments.
A Caddyfile is the Caddy web server configuration file using concise declarative syntax to define site behavior like reverse proxy, static file serving, and HTTPS certificate management.
Caddy automatically obtains and renews TLS certificates via Let's Encrypt. Just use a domain name in Caddyfile and Caddy handles certificate provisioning and renewal.
Yes. The generated Caddyfile follows Caddy syntax conventions. Save and run caddy run to start. Test in staging first.
Absolutely safe. All configuration is generated locally in your browser. No data is uploaded.
Caddy has auto-HTTPS and simpler config; Nginx has higher performance and a more mature ecosystem. Caddy suits small/medium projects; Nginx excels at high concurrency.
Define multiple site blocks in Caddyfile, each starting with a domain name.
Yes. The reverse_proxy directive automatically handles WebSocket connection upgrades without extra configuration.