Fix DOMAIN setting with sub directory
Fix DOMAIN setting with sub directory

In conjunction with a reverse proxy and URL rewriting, gogs_url may contain a
sub directory, which we also need to strip when extracting the domain.

nome/ansible-role-gogs