Info

As part of the Synapse-Admin (https://github.com/Awesome-Technologies/synapse-admin) installation, a reversed proxy with IP restriction and an automatic Letsencrypt certificate was necessary. This is easy to solve with Caddy.


  # KMJ.at / Karl M. Joch
  # Caddy will automatically obtain ACME certs for domains
  my.domain.com {
    root * /usr/local/www/caddy
    @internal {
      remote_ip IP1 IP2 IP3
    }
    handle @internal {
      reverse_proxy localhost:PORT_des_DIENSTES
    }
  }