Ignore:
Timestamp:
2018-08-17T22:09:16+12:00 (6 years ago)
Author:
ak19
Message:

Configuring tomcat works automatically. Still need to automate getting the certificate (and then later automate renewing the certificate, after first testing I can manually renew it.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/resources/tomcat/server_tomcat7.xml.svn

    r32309 r32346  
    6868         Define a non-SSL HTTP/1.1 Connector on port @port@
    6969    -->
    70     <Connector port="@port@" protocol="HTTP/1.1"
     70    @http.comment.out.start@
     71    <Connector executor="tomcatThreadPool"
     72           port="@tomcat.port.http@" protocol="HTTP/1.1"
    7173               connectionTimeout="20000"
    72                redirectPort="8443"
     74               redirectPort="@https.redirect.port@"
    7375           compression="on"
    7476           compressionMinSize="524288"
     
    7779               URIEncoding="UTF-8"
    7880           />
     81    @http.comment.out.end@
    7982    <!-- A "Connector" using the shared thread pool-->
    8083    <!--
    8184    <Connector executor="tomcatThreadPool"
    82                port="8080" protocol="HTTP/1.1"
     85               port="@tomcat.port.http@" protocol="HTTP/1.1"
    8386               connectionTimeout="20000"
    84                redirectPort="8443" />
     87               redirectPort="@https.redirect.port@" />
    8588    -->
    8689    <!-- Define a SSL HTTP/1.1 Connector on port 8443
     
    9396               clientAuth="false" sslProtocol="TLS" />
    9497    -->
     98    @https.comment.out.start@
     99    <Connector port="@tomcat.port.https@" protocol="org.apache.coyote.http11.Http11Protocol"
     100            maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
     101            keystoreFile="@keystore.file@"
     102            keystorePass="@keystore.pass@"
     103            clientAuth="false" sslProtocol="TLS" />
     104    @https.comment.out.end@
    95105
    96106    <!-- Define an AJP 1.3 Connector on port 8009 -->
    97     <Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8" redirectPort="8443" />
    98 
     107    <Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8" redirectPort="@https.redirect.port@" />
    99108
    100109    <!-- An Engine represents the entry point (within Catalina) that processes
Note: See TracChangeset for help on using the changeset viewer.