2
0

test_acme-http-challenge-location-accept-unknown-host.yml 770 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. services:
  2. nginx-proxy:
  3. environment:
  4. ACME_HTTP_CHALLENGE_ACCEPT_UNKNOWN_HOST: "true"
  5. web1:
  6. image: web
  7. expose:
  8. - "81"
  9. environment:
  10. WEB_PORTS: "81"
  11. VIRTUAL_HOST: "web1.nginx-proxy.tld"
  12. web2:
  13. image: web
  14. expose:
  15. - "82"
  16. environment:
  17. WEB_PORTS: "82"
  18. VIRTUAL_HOST: "web2.nginx-proxy.tld"
  19. ACME_HTTP_CHALLENGE_LOCATION: "false"
  20. web3:
  21. image: web
  22. expose:
  23. - "83"
  24. environment:
  25. WEB_PORTS: "83"
  26. VIRTUAL_HOST: "web3.nginx-proxy.tld"
  27. HTTPS_METHOD: noredirect
  28. web4:
  29. image: web
  30. expose:
  31. - "84"
  32. environment:
  33. WEB_PORTS: "84"
  34. VIRTUAL_HOST: "web4.nginx-proxy.tld"
  35. HTTPS_METHOD: noredirect
  36. ACME_HTTP_CHALLENGE_LOCATION: "false"