mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Update Tomcat 8.5 example config to include HTTP/2, OpenSSL config
This commit is contained in:
parent
456edd7197
commit
b10dabfe07
|
@ -17,13 +17,12 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Additional config:
|
<!-- Additional config:
|
||||||
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
|
JAVA_OPTS="-Djava.security.egd=file:/dev/urandom -Djava.awt.headless=true -Xmx320m -Xmx320m -XX:+UseG1GC"
|
||||||
JAVA_OPTS="-Djava.awt.headless=true -Xmx640m -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow"
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<Server port="-1" shutdown="">
|
<Server port="-1" shutdown="">
|
||||||
<!--APR library loader. Documentation at /docs/apr.html -->
|
<!--APR library loader. Documentation at /docs/apr.html -->
|
||||||
<!--<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />-->
|
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
|
||||||
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
|
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
|
||||||
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
|
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
|
||||||
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
|
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
|
||||||
|
@ -43,9 +42,13 @@
|
||||||
server="Apache" compression="8192"
|
server="Apache" compression="8192"
|
||||||
executor="tomcatThreadPool"
|
executor="tomcatThreadPool"
|
||||||
SSLEnabled="true" scheme="https" secure="true"
|
SSLEnabled="true" scheme="https" secure="true"
|
||||||
keyAlias="zxingorg"
|
URIEncoding="UTF-8">
|
||||||
keystoreFile="" keystorePass=""
|
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"/>
|
||||||
URIEncoding="UTF-8" />
|
<SSLHostConfig certificateKeyFile=""
|
||||||
|
certificateFile=""
|
||||||
|
certificateKeyPassword=""
|
||||||
|
caCertificateFile=""/>
|
||||||
|
</Connector>
|
||||||
|
|
||||||
<Engine name="Catalina" defaultHost="localhost">
|
<Engine name="Catalina" defaultHost="localhost">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue