changed server-address to public-address on redirects