How to disable https redirect

version: '3.6'
services:
  web:
    container_name: gitlab
    image: 'gitlab/gitlab-ee:latest'
    restart: always
    hostname: 'my.domain.com'
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'https://my.domain.com'
        #nginx['enable'] = true
        nginx['listen_https'] = false
        nginx['listen_port'] = 80
        nginx['redirect_http_to_https'] = false
        letsencrypt['enable'] = false
    ports:
      - '1234:80'
    volumes:
      - 'config:/etc/gitlab:Z'
      - 'logs:/var/log/gitlab:Z'
      - 'data:/var/opt/gitlab:Z'
    shm_size: '256m'
$ curl -I localhost:1234
HTTP/1.1 302 Found
Server: nginx
Location: https://localhost:1234/users/sign_in

<html><body>You are being <a href="https://localhost:1234/users/sign_in">redirected</a>.</body></html>

Are there any settings to change?

Hi
What are you trying to achieve and what symptoms / errors are you having?
443 isn’t mentioned here, and redirect appears to be fasle
just a guess, maybe try changing https://localhost:1234/users/sign_in to http instead of https and restart