to webservices subsystem configuration
All that does is allow me to use the private host name. I need the public URL.
is there any proxy in front? or what is the first entry point?
try setting proxy-address-forwarding="true" on http-listener in undertow subsystem.
as it looks like AWS supports sending x-forwarded-for http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#x-forwarded-for
which will be used by undertow if upper setting is set.