Automx2 and docker

M. Koehler ml_automx at controlc.de
Fri Jan 3 15:26:34 CET 2020


Hi Ralph,

>> proxy_pass https://automx2.DOMAIN;
> 
> Without log files I can only guess what is happening, but automx2 does
> not understand HTTPS. I suggest you try HTTP in this directive, as shown
> in the example[1] configuration.
> 
> [1] https://gitlab.com/automx/automx2/blob/master/contrib/nginx-sample.conf

Thanks, that was the problem - for the records: this is my docker compose file:

 automx2:
   build:
     context: /srv/docker/automx2
   container_name: automx2
   hostname: automx2
   domainname: DOMAIN
   expose:
     - 5000
   volumes:
     - /srv/docker/automx2/automx2.conf:/etc/automx2.conf
     - /srv/docker/automx2/db.sqlite:/var/lib/automx2/db.sqlite
   environment:
     - VIRTUAL_HOST=automx2.DOMAIN
     - VIRTUAL_PORT=5000
     - VIRTUAL_PROTO=http
     - LETSENCRYPT_HOST=automx2.DOMAIN
     - LETSENCRYPT_EMAIL=hostmaster at DOMAIN
   restart: always

Now I get access from external.

Best wishes,
Michael


More information about the automx-users mailing list