{
	auto_https off
	admin off
}

localhost:{$CADDY_PORT:8000}, 127.0.0.1:{$CADDY_PORT:8000} {
	tls .cert/localhost.pem .cert/localhost-key.pem

	handle /storage/* {
		root * backend/public
		file_server
	}

	handle {
		reverse_proxy 127.0.0.1:{$BACKEND_PORT:8001}
	}
}
