In as7 you could enable the proxy in the following way
| <subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"> | |
| <connector name="http" protocol="HTTP/1.1" scheme="https" socket-binding="http" proxy-port="443"/> | |
| <virtual-server name="default-host" enable-welcome-root="false"> | |
| <alias name="localhost"/> | |
| <alias name="example.com"/> | |
| </virtual-server> | |
| </subsystem> |
in wildfly the web subsystem has been replaced by undertow, I cant seem to find how to do this unless I use the ajp connector. Can anyone point me at the docs to help set this up please.
| <subsystem xmlns="urn:jboss:domain:undertow:1.2"> | ||
| <buffer-cache name="default"/> | ||
| <server name="default-server"> | ||
| <http-listener max-parameters="10000" name="default" socket-binding="http"/> | ||
| <host alias="localhost" name="default-host"> | ||
| <location handler="welcome-content" name="/wildfly"/> | ||
| <filter-ref name="server-header"/> | ||
| <filter-ref name="x-powered-by-header"/> | ||
| </host> | ||
| <ajp-listener name="ajp" scheme="https" socket-binding="ajp"/> | ||
| </server> |
HI,
I am also having the same problem with wildfly 9 and Nginx. IS there a solution for this?. Please help me out.