test_acme-http-challenge-location-disabled.yml 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. services:
  2. web1:
  3. image: web
  4. expose:
  5. - "81"
  6. environment:
  7. WEB_PORTS: "81"
  8. VIRTUAL_HOST: "web1.nginx-proxy.tld"
  9. web2:
  10. image: web
  11. expose:
  12. - "82"
  13. environment:
  14. WEB_PORTS: "82"
  15. VIRTUAL_HOST: "web2.nginx-proxy.tld"
  16. ACME_HTTP_CHALLENGE_LOCATION: "true"
  17. web3:
  18. image: web
  19. expose:
  20. - "83"
  21. environment:
  22. WEB_PORTS: "83"
  23. VIRTUAL_HOST: "web3.nginx-proxy.tld"
  24. HTTPS_METHOD: noredirect
  25. web4:
  26. image: web
  27. expose:
  28. - "84"
  29. environment:
  30. WEB_PORTS: "84"
  31. VIRTUAL_HOST: "web4.nginx-proxy.tld"
  32. HTTPS_METHOD: noredirect
  33. ACME_HTTP_CHALLENGE_LOCATION: "true"
  34. sut:
  35. image: nginxproxy/nginx-proxy:test
  36. environment:
  37. ACME_HTTP_CHALLENGE_LOCATION: "false"
  38. volumes:
  39. - /var/run/docker.sock:/tmp/docker.sock:ro
  40. - ./certs:/etc/nginx/certs:ro
  41. - ./acme_root:/usr/share/nginx/html:ro