Gitlab with Caddy

Hello. I am trying to run gitlab alongisde with Caddy. I have followed https://github.com/gitlabhq/gitlab-recipes/tree/master/web-server/caddy

But each time I try to access my hostname I get the following error message

I am not sure how to fix this error, I tried tinkering the with external_url and reconfiguring but nothing seems to work. This is my CaddyFile

git.raggaer.pw {
	tls email@gmail.com
	proxy / http://localhost:4949
}

On my production log file I dont see any error except for maybe

Raven 2.5.3 configured not to capture errors: DSN not set

However I cant seem to access http://51.15.138.234:4949/ as it returns connection refused

Thanks