untrusteddefault.yml 850 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. services:
  2. sut:
  3. image: nginxproxy/nginx-proxy:test
  4. volumes:
  5. - /var/run/docker.sock:/tmp/docker.sock:ro
  6. - ./withdefault.certs:/etc/nginx/certs:ro
  7. environment:
  8. TRUST_DEFAULT_CERT: "false"
  9. https-and-http:
  10. image: web
  11. expose:
  12. - "81"
  13. environment:
  14. WEB_PORTS: "81"
  15. VIRTUAL_HOST: https-and-http.nginx-proxy.test
  16. https-only:
  17. image: web
  18. expose:
  19. - "82"
  20. environment:
  21. WEB_PORTS: "82"
  22. VIRTUAL_HOST: https-only.nginx-proxy.test
  23. HTTPS_METHOD: nohttp
  24. http-only:
  25. image: web
  26. expose:
  27. - "83"
  28. environment:
  29. WEB_PORTS: "83"
  30. VIRTUAL_HOST: http-only.nginx-proxy.test
  31. HTTPS_METHOD: nohttps
  32. missing-cert:
  33. image: web
  34. expose:
  35. - "84"
  36. environment:
  37. WEB_PORTS: "84"
  38. VIRTUAL_HOST: missing-cert.nginx-proxy.test