A URL includes a protocol or "scheme" in front of a domain name, i.e http.
If a correct URL is supplied during install_bootstrap, no warning nor error will show up until the nginx server will fail to serve requests since a templating substition for s/__my.example.com__/http://my.domain.com/ will garble the result... leading to a 503 Service temporarily unavailable error.
A possible solution would be to either chop the scheme (http:// part of the URL) on install_bootstrap or use other characters in the regexp to delimit origin and dest, i.e:
sed -ie s#__my.example.com__#http://my.domain.com/#