This content has been marked as final.
Show 2 replies
-
1. Re: UriInfo.getBaseUri() returns different value in WildFly 13 and Wildfly 18
ctomc Feb 17, 2020 10:09 AM (in response to jdafi)how does undertow configuration look like?
where is your apache https request endpointed on WildFly? https or http listener?
do you have proxy header forward configured?
-
2. Re: UriInfo.getBaseUri() returns different value in WildFly 13 and Wildfly 18
jdafi Feb 18, 2020 1:33 AM (in response to ctomc)I use the default conf from the unzipped WF 18, just for completeness the only modification done is related to the datasources
The apache configuration is shown below
ProxyPass /myapp/ http://wildfly18:8080/myapp/ connectiontimeout=5 timeout=680
ProxyPassReverse /myapp/ http://wildfly18:8080/myapp/
RequestHeader set X-Forwarded-Proto "https"
ProxyPreserveHost On