- name: Add Connector to server.xml
community.general.xml:
path: /path/to/server.xml
xpath: /Server/Service
add_children:
- Connector:
port: '8090'
relaxedPathChars: "[]|"
relaxedQueryChars: "[]|{}^\\`"<>"
maxThreads: '250'
minSpareThreads: '50'
On Thursday, May 18, 2023 at 3:02:09 AM UTC-7 shloco wrote:
> Hi Team,
>
> I'm trying to add additional Connector to server.xml file, I try to use
> XML module so far without no luck. any ideas ?
>
> community.general.xml:
> path: server.xml
> xpath: /Server/Service
> add_children:
> - Connector:
> port: '8090'
> relaxedPathChars: "[]|"
> .
> .
> .
>
> <Connector port="8090" relaxedPathChars="[]|"
> relaxedQueryChars="[]|{}^\`"<>" maxThreads="250"
> minSpareThreads="50" />
>
>
> server.xml
>
> <Server port="8005" shutdown="SHUTDOWN">
> <Listener
> className="org.apache.catalina.startup.VersionLoggerListener"/>
> <Listener className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on"/>
> <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
> <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
> <Listener
> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/>
>
> <Service name="Catalina">
> <!--
>
>
> <Connector port="8080" relaxedPathChars="[]|"
> relaxedQueryChars="[]|{}^\`"<>"
> maxThreads="150" minSpareThreads="25"
> connectionTimeout="20000" enableLookups="false"
> maxHttpHeaderSize="8192" protocol="HTTP/1.1"
> useBodyEncodingForURI="true" redirectPort="8443"
> acceptCount="100" disableUploadTimeout="true"
> bindOnInit="false"/>
>
> <!--
>
>
> ==============================================================================================================
> HTTP - Proxying Jira via Apache or Nginx over HTTP
>
> If you're proxying traffic to Jira over HTTP, uncomment the below
> connector and comment out the others.
> Ensure the proxyName and proxyPort are updated with the
> appropriate information if necessary as per the docs.
>
> See the following for more information:
>
> Apache - https://confluence.atlassian.com/x/4xQLM
> nginx - https://confluence.atlassian.com/x/DAFmGQ
>
>
> ==============================================================================================================
> -->
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9e2472c9-afaf-4024-8cba-4af3fab20b22n%40googlegroups.com.