Undertow Configuration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
</font> | </font> | ||
=WildFly Configuration= | |||
<pre> | |||
... | |||
<subsystem xmlns="urn:jboss:domain:undertow:3.0"> | |||
<buffer-cache name="default"/> | |||
<server name="default-server"> | |||
<http-listener name="default" redirect-socket="https" socket-binding="http"/> | |||
<host name="default-host" alias="localhost"> | |||
<location name="/" handler="welcome-content"/> | |||
<filter-ref name="server-header"/> | |||
<filter-ref name="x-powered-by-header"/> | |||
</host> | |||
</server> | |||
<servlet-container name="default"> | |||
<jsp-config/> | |||
<websockets/> | |||
</servlet-container> | |||
<handlers> | |||
<file name="welcome-content" path="${jboss.home.dir}/welcome-content"/> | |||
</handlers> | |||
<filters> | |||
<response-header name="server-header" header-value="JBoss-EAP/7" header-name="Server"/> | |||
<response-header name="x-powered-by-header" header-value="Undertow/1" header-name="X-Powered-By"/> | |||
</filters> | |||
</subsystem> | |||
... | |||
</pre> |
Revision as of 04:28, 19 January 2016
Internal
XNIO Worker Configuration
Listener Configuration
TODO:
- http://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#common-listener-options
- http://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#http-listener
- http://undertow.io/undertow-docs/undertow-docs-1.3.0/index.html#ajp-listener
WildFly Configuration
... <subsystem xmlns="urn:jboss:domain:undertow:3.0"> <buffer-cache name="default"/> <server name="default-server"> <http-listener name="default" redirect-socket="https" socket-binding="http"/> <host name="default-host" alias="localhost"> <location name="/" handler="welcome-content"/> <filter-ref name="server-header"/> <filter-ref name="x-powered-by-header"/> </host> </server> <servlet-container name="default"> <jsp-config/> <websockets/> </servlet-container> <handlers> <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/> </handlers> <filters> <response-header name="server-header" header-value="JBoss-EAP/7" header-name="Server"/> <response-header name="x-powered-by-header" header-value="Undertow/1" header-name="X-Powered-By"/> </filters> </subsystem> ...