禁用GitLab UI http页面

禁用GitLab UI http页面,gitlab,Gitlab,我想完全禁用(而不是重定向)web UI的HTTP页面。当前,在访问http url时显示以下内容。https页面正在按预期工作 出于安全原因,我需要http页面完全没有结果。我希望这样的结果: 我正在使用docker将GitLab部署到docker群。以下是docker compose文件: version: "3.1" services: gitlab: image: 'hostname:9091/gitlab/gitlab-ce:13.2.4

我想完全禁用(而不是重定向)web UI的HTTP页面。当前,在访问http url时显示以下内容。https页面正在按预期工作

出于安全原因,我需要http页面完全没有结果。我希望这样的结果:

我正在使用docker将GitLab部署到docker群。以下是docker compose文件:

version: "3.1"
services:
    gitlab:
        image: 'hostname:9091/gitlab/gitlab-ce:13.2.4-ce.0'
        deploy:
          placement:
            constraints:
              - node.hostname == hostname.dev.local
          restart_policy:
            condition: any
        hostname: 'hostname.dev.local'
        environment:
            CHEF_FIPS: ''
            GITLAB_OMNIBUS_CONFIG: |
                external_url 'https://hostname:9096'
                gitlab_exporter['enable'] = false
                gitlab_rails['gitlab_username_changing_enabled'] = false
                gitlab_rails['gitlab_email_enabled'] = true
                gitlab_rails['gitlab_email_from'] = 'gitlab@hostname'
                gitlab_rails['gitlab_email_display_name'] = 'GitLab'
                gitlab_rails['gitlab_email_reply_to'] = 'noreply@nobody'
                gitlab_rails['smtp_enable'] = true
                gitlab_rails['smtp_address'] = "example.com"
                gitlab_rails['smtp_openssl_verify_mode'] = 'none'
                nginx['ssl_ciphers'] = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256"
        user: root
        ports:
            - '9096:9096'
            - '30022:22'
        volumes:
            - '/u01/cicd/gitlab/config:/etc/gitlab'
            - '/u01/cicd/gitlab/logs:/var/log//gitlab'
            - '/u01/cicd/gitlab/data:/var/opt/gitlab'
            - '/u01/cicd/toolkit:/var/opt/toolkit'
            - '/u01/cicd/gitlab/backups:/var/opt/gitlab/backups'
            - '/home/DEV/appadm/keystore:/keystores'