[英]Permanent changes to WildFly 10 configuration (standalone.xml)
如何使這兩個Wildfly 10配置更改永久生效?
如果我將它們寫入standalone.xml並重新啟動Wildfly,它們將消失。
<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>
...
哈里
在手動編輯standalone.xml之前,請先關閉服務器,或者如果要動態設置服務器,請使用命令行控制台對其進行編輯。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.