{
	auto_https off
}

:8788 {
	@unsafe_debug path /api/debug /api/debug/*

	handle @unsafe_debug {
		reverse_proxy {$STRONK_GATEWAY_DEBUG_PROXY_UPSTREAM} {
			header_up X-Stronk-Unsafe-Debug-Gateway {$STRONK_GATEWAY_UNSAFE_DEBUG_GATEWAY_SECRET}
		}
	}

	handle {
		reverse_proxy {$STRONK_GATEWAY_ADMIN_UPSTREAM}
	}
}
