Uploaded image for project: 'Nuxeo Documentation'
  1. Nuxeo Documentation
  2. NXDOC-1190

Add secure flag by default on tomcat connector

    XMLWordPrintable

    Details

      Description

      By default, the secure flag is not set:

          <Connector port="8080" protocol="HTTP/1.1" URIEncoding="UTF-8"
                     address="0.0.0.0"
                     compression="on"
                     compressionMinSize="512"
                     compressableMimeType="text/css,application/javascript,text/xml,text/html"
                     connectionTimeout="20000" />

      If everything is compatible with this flag it would be better to enable it by default:

          <Connector port="8080" protocol="HTTP/1.1" URIEncoding="UTF-8"
                     address="0.0.0.0"
                     compression="on"
                     compressionMinSize="512"
                     compressableMimeType="text/css,application/javascript,text/xml,text/html"
                     connectionTimeout="20000" secure="true" />

      https://tomcat.apache.org/tomcat-7.0-doc/config/http.html

      This flag is already mentioned in the Nuxeo https documentation:
      https://doc.nuxeo.com/nxdoc/http-and-https-reverse-proxy-configuration/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ffischer Frantz Fischer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: