0

I have docker containers up and my jrcs/letsencrypt-nginx-proxy-companion does not show me or generate the token, how can I see or generate the token, then create my _acme-challange txt file.

  letsencrypt:
    container_name: ${COMPOSE_PROJECT_NAME}_letsencrypt
    image: jrcs/letsencrypt-nginx-proxy-companion
    restart: always
    volumes:
      - certs:/etc/nginx/certs:rw
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - vhost:/etc/nginx/vhost.d
      - html:/usr/share/nginx/html
      - dhparam:/etc/nginx/dhparam:ro
      - acme:/etc/acme.sh
    environment:
      - NGINX_PROXY_CONTAINER=${COMPOSE_PROJECT_NAME}_nginx-proxy
    depends_on:
      - nginx-proxy
location ^~ /.well-known/acme-challenge/ {
    auth_basic off;
    auth_request off;
    allow all;
    root /usr/share/nginx/html;
    try_files $uri =404;
    break;
}

0 Answers0