简体   繁体   中英

Permanent changes to WildFly 10 configuration (standalone.xml)

How can I make these two Wildfly 10 configuration changes permanent?

  • max-parameters="4000"
  • <access-log />

If I write them to standalone.xml and restart Wildfly, they disappear.

<subsystem xmlns="urn:jboss:domain:undertow:3.1">
  <buffer-cache name="default"/>
  <server name="default-server">
    <http-listener name="default" socket-binding="http" redirect-socket="https" max-parameters="4000" />
    <host name="default-host" alias="localhost">
      <location name="/" handler="welcome-content"/>
      <access-log/>
      <filter-ref name="server-header"/>
      <filter-ref name="x-powered-by-header"/>
    </host>
  </server>
...

Harri

在手动编辑standalone.xml之前,请先关闭服务器,或者如果要动态设置服务器,请使用命令行控制台对其进行编辑。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM