Uploaded image for project: 'HawtIO'
  1. HawtIO
  2. HAWNG-887

nginx config file not included in Docker build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.1.0
    • 4.1.0
    • hawtio-online
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical

      Hawtio-Online cannot spin up due to following error:

      ⏚ θ98° [: ... deploy] main(+67/-40)+* ± oc logs hawtio-online-7494f88b87-fznqt
      ]Defaulted container "hawtio-online" out of: hawtio-online, hawtio-online-gateway
      OpenShift API: true - 200 https://kubernetes.default.svc/apis/apps.openshift.io/v1
      Generating gateway NGINX configuration
      Starting NGINX...
      2024/11/11 12:06:58 [emerg] 14#0: open() "/etc/nginx/includes/security-headers-common.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/nginx.conf:45
      nginx: [emerg] open() "/etc/nginx/includes/security-headers-common.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/nginx.conf:45
      

      Config file is missing from Docker container.

              parichar@redhat.com Paul Richardson
              parichar@redhat.com Paul Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: