Hi,
I'm using Docker Compose to auto-generate the SSL for my domain
version: '3.8'
name: infra-main
services:
nginx:
container_name: infra-main-nginx
image: ghcr.io/rihal-om/infra-rihal-om/nginx:latest
restart: always
ports:
- 80:80
- 443:443
volumes:
- '/var/run/docker.sock:/tmp/docker.sock:ro'
- 'vhost:/etc/nginx/vhost.d'
- 'html:/usr/share/nginx/html'
- 'certs:/etc/nginx/certs'
- '/docker/volumes/infra-main/nginx/config:/etc/nginx/conf.d'
acme:
container_name: infra-main-acme
image: nginxproxy/acme-companion
restart: always
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:ro'
- 'acme:/etc/acme.sh'
environment:
DEFAULT_EMAIL: user@xyz.com
volumes_from:
- 'nginx'
volumes:
vhost:
html:
certs:
acme:
networks:
default:
name: shared-network
external: true
Invalid status,domain-name:Verify error detail:151.104.132.210: Invalid response from http://domain/.well-known/acme-challenge/53P1P7CDyRpr8BjCbPORc2wpmwOqoUQd6ORHuOaLE9I: 404
How can I fix this?