{$SCHEME}://git.{$MAIN_DOMAIN} {
	import authelia_middleware
	reverse_proxy {$FORGEJO_ADDRESS}
}

{$SCHEME}://forgejo.{$MAIN_DOMAIN} {
	import authelia_middleware
	redir https://git.{$MAIN_DOMAIN}{uri} permanent
}
