songs2vid.com, www.songs2vid.com {
	encode gzip
	reverse_proxy web:3000
}

docs.songs2vid.com {
	encode gzip
	root * /srv/docs
	file_server
	try_files {path} {path}/ {path}/index.html /index.html
}

# Basic-auth hash is generated on the server (caddy hash-password).
# Do not commit live hashes/passwords here.
studio.songs2vid.com {
	encode gzip
	basicauth {
		admin REPLACE_WITH_CADDY_HASH
	}
	reverse_proxy studio:5555
}
