In public web interface, there is a link to Administration Web.
This link is build with a domain name which is get from web client.
When there is a reverse proxy in front of JBoss, the web client is the reverse proxy, and the domain name is get from the domain name of the directive ProxyPass.
1. ProxyPass contains "http://localhost/..", then the link begin with "http://localhost/..",
2. ProxyPass contains "http://www.foo.org/..", then the link begin with "http://www.foo.org/..".
The #2 is good, but if you configure JBoss to listen only on 127.0.0.1 (not 0.0.0.0), it doesn't work.
The port number of this link is configured via "httpserver.external.privhttps".
Fix this "bug" by create a new parameter "httpserver.external.fqdn" for the domain name, like "httpserver.external.privhttps" for port number.
If "httpserver.external.fqdn" is not set or empty, the domain name is get from web client, as currently.
If "httpserver.external.fqdn" is set, the domain name is the value of this property.