Server.xml file on Bamboo Docker image is missing tag for redirectPort

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Docker
    • None

      Issue Summary

      Server.xml on Bamboo running on docker is produced via /opt/atlassian/etc/server.xml.j2 template file. This file is missing tag for redirectPort, hence it will not be present in server.xml by default.

      server.xml file has to be mounted and this entry added manually, whereas if we download the Unix/Windows distribution, this entry is present in server.xml file by default, sample below

      <Service name="Catalina">
          <Connector
              port="8085"
              protocol="HTTP/1.1"
              maxThreads="150" minSpareThreads="25"
              connectionTimeout="20000"
              disableUploadTimeout="true"
              acceptCount="100"
              enableLookups="false"
              maxHttpHeaderSize="8192"
              useBodyEncodingForURI="true"
              URIEncoding="UTF-8"
              redirectPort="8443">
      

      Steps to Reproduce

      Open /opt/atlassian/etc/server.xml.j2 template file on docker.

      Expected Results

      Entry is present for redirectPort on this file.

      Actual Results

      This file is missing entry for redirectPort.

      Workaround

      Current workaround is to add this entry in the server.xml file manually.

            Assignee:
            Unassigned
            Reporter:
            Shashank Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: