untrusteddefault.yml 864 B

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