Introduce Tomcat internalProxies/trustedProxies and AccessLogValve's requestAttributesEnabled properties

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: Environment - Docker
    • None

      Looking to standardise the Load Balancer configuration on Atlassian Docker Images, I propose a change to configure the following Tomcat properties by using environment variables:

       

      Property Environment variable
      trustedProxies ATL_TOMCAT_TRUSTEDPROXIES
      internalProxies ATL_TOMCAT_INTERNALPROXIES
      requestAttributesEnabled ATL_TOMCAT_REQUESTATTRIBUTESENABLED

       

      Both trustedProxies and internalProxies require IP addresses with escaped dots, so ideally a new logic on entrypoint_helpers.py needs to parse the declared IP addresses for consistency.

      For requestAttributesEnabled, it can be assumed as false by default.

              Assignee:
              Unassigned
              Reporter:
              Eduardo Alvarenga (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: