test_vhost-empty-string.yml 766 B

123456789101112131415161718192021222324252627282930313233343536
  1. services:
  2. web1:
  3. image: web
  4. expose:
  5. - "81"
  6. environment:
  7. WEB_PORTS: "81"
  8. # The space is intentional (should be trimmed).
  9. VIRTUAL_HOST: " "
  10. web2:
  11. image: web
  12. expose:
  13. - "82"
  14. environment:
  15. WEB_PORTS: "82"
  16. # The space is intentional (should be trimmed).
  17. VIRTUAL_HOST: "web2.nginx-proxy.test ,"
  18. web3:
  19. image: web
  20. expose:
  21. - "83"
  22. environment:
  23. WEB_PORTS: "83"
  24. # The space is intentional (should be trimmed).
  25. VIRTUAL_HOST: " ,web3.nginx-proxy.test"
  26. web4:
  27. image: web
  28. expose:
  29. - "84"
  30. environment:
  31. WEB_PORTS: "84"
  32. # The spaces are intentional (should be trimmed).
  33. VIRTUAL_HOST: "web4a.nginx-proxy.test, , web4b.nginx-proxy.test"