test_htpasswd-regex-virtual-host.yml 229 B

12345678
  1. services:
  2. regex:
  3. image: web
  4. expose:
  5. - "80"
  6. environment:
  7. WEB_PORTS: "80"
  8. VIRTUAL_HOST: ~^regex.*\.nginx-proxy\.example$$ # we need to double the `$` because of docker compose variable interpolation