{
	admin off
}

{$PRIMARY_DOMAIN} {
	encode zstd gzip

	header {
		-Server
	}

	reverse_proxy {$PRIMARY_UPSTREAM}
}

www.{$PRIMARY_DOMAIN} {
	redir https://{$PRIMARY_DOMAIN}{uri} permanent
}

{$STAGING_DOMAIN} {
	encode zstd gzip

	header {
		-Server
	}

	reverse_proxy {$STAGING_UPSTREAM}
}
