macbre / docker-nginx-http3

Stable and up-to-date root-less nginx with quic + http/3, google brotli compression, njs, GeoIP2, and Grade A+ SSL config
https://hub.docker.com/r/macbre/nginx-http3
172 stars 54 forks source link

After upgrading to the latest version of the image, nginx stopped responding to any requests #102

Closed budarin closed 1 year ago

budarin commented 1 year ago

Before the upgrade , the config had the form

    proxy:
        image: macbre/nginx-http3:latest
        environment:
            user: nginx
        networks:
            - localNet_overlay
        ports:
            - target: 80
              published: 80
              protocol: tcp
              mode: host
            - target: 443
              published: 443
              protocol: tcp
              mode: host
            - target: 443
              published: 443
              protocol: udp
              mode: host
        volumes:
            - ./certs:/etc/nginx/certs:ro
            - ./config/docker/nginx/config:/etc/nginx/config:ro
            - ./config/docker/nginx/template:/etc/nginx/main-config:ro
            - upload_vol:/var/upload/files/:ro
            - assets_vol:/var/www/
        command: ['nginx', '-c', '/etc/nginx/main-config/nginx.conf', '-g', 'daemon off;']
        healthcheck:
            test:
                [
                    'CMD-SHELL',
                    'wget --quiet --tries=1 --spider http://localhost/health-check --no-check-certificate || exit 1',
                ]
            retries: 7

after the update, nginx stopped responding to requests After reading scraps of information and viewing service errors when it crashed - I commented on port bindings, but it didn't help!

        # ports:
        #     - target: 80
        #       published: 80
        #       protocol: tcp
        #       mode: host
        #     - target: 443
        #       published: 443
        #       protocol: tcp
        #       mode: host
        #     - target: 443
        #       published: 443
        #       protocol: udp
        #       mode: host

The service works fine - health checks are registering in the log, but it does not respond to requests from outside Docker at all - requests are not registering in the log at all

image

PS: running in Docker Desktop fo development so ignore stapling errors

What could be the problem?

compilenix commented 1 year ago

@budarin You might want to ask for help on the nginx user mailing list: https://mailman.nginx.org/mailman/listinfo/nginx