Skip to content

Instantly share code, notes, and snippets.

@Inkimar
Created September 27, 2016 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Inkimar/a3be4155ca2e08f46168d5bc1f0fa832 to your computer and use it in GitHub Desktop.
Save Inkimar/a3be4155ca2e08f46168d5bc1f0fa832 to your computer and use it in GitHub Desktop.
wildfly 8.1, update standalone.xml with 'max-header-size="974247881" '
<!-- able to uploead 9.0 MB file-->
<subsystem xmlns="urn:jboss:domain:undertow:1.2">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http" max-header-size="974247881"/>
<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-name="Server" header-value="WildFly/8"/>
<response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
</filters>
</subsystem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment