Reverse Proxy for HA & Onlyoffce

CONTEXT

  • AMD / 12GB / 1TB SSD
  • Docker HA
  • WAN ports forwarded for web access: www.mydomain.com

GOAL:

QUESTIONS:
I understand that Traefic or NGINX can serve as the reverse proxy:

  • Is it best practice / Does it make sense to have the reverse proxy in its own container?
  • What questions must be asked / answered to decide if Traefic or NGINX is the better choice

Yes

Do you want a modern proxy that handles SSL for you (Traefik) or do you want to manage SSL elsewhere (NGINX).

1 Like

Good to hear from you Tinkerer. Thank you for simplifying the decisions. Do you have any “lessons learned” regarding Traefik implemented in containers?

Honestly, I just followed the docs. You’ll have to tell it the port to use, something like this added to the compose entry:

    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.homeassistant.rule=Host(`ha.ceard.tech`)"
      - "traefik.http.routers.homeassistant.tls=true"
      - "traefik.http.routers.homeassistant.tls.certresolver=zerossl"
      - "traefik.http.routers.homeassistant.entrypoints=websecure"
      - "traefik.http.services.homeassistant.loadBalancer.server.port=8123"

I happen to run HA remote from Traefik, so my setup is subtly different, but Traefik is well documented and has an active forum (plus many people have written great guides).

1 Like