# Caddy gets and renews the HTTPS certificate by itself. The site sets its own security headers.
neatlydone.in {
	encode zstd gzip
	# Visitors don't need to know which server software this is.
	header -Server
	reverse_proxy 127.0.0.1:8420
	log {
		output file /var/log/caddy/neatlydone.log {
			roll_size 50MiB
			roll_keep 5
		}
	}
}

www.neatlydone.in {
	redir https://neatlydone.in{uri} permanent
}
