Using the Websoft9 Java on Tomcat Image, you should have some skills for configure Tomcat like below:



For the above content, we have prepared the Tomcat Quik Start for users.


------


Top3 Tomcat configuration you must use when using this Image


#1 Tomcat HTTP Host template


<Host name="localhost" appBase="/data/wwwroot" unpackWARs="true" autoDeploy="true">
    <Context path="" docBase="/data/wwwroot/www.example.com" reloadable="false" crossContext="true"/>
    <Context path="/jspmyadmin" docBase="/data/apps/jspmyadmin" reloadable="false" crossContext="true"/>
    <Context path="/9panel" docBase="/data/apps/9panel" reloadable="false" crossContext="true"/>
    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
       prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b" />
    <Valve className="org.apache.catalina.valves.RemoteIpValve" remoteIpHeader="X-Forwarded-For"
       protocolHeader="X-Forwarded-Proto" protocolHeaderHttpsValue="https"/>
</Host>


#2 Tomcat HTTPS Host template


coming soon


#2 Tomcat rewrite


coming soon