test_http.yml 425 B

123456789101112131415161718192021222324
  1. web:
  2. image: web
  3. expose:
  4. - "80"
  5. environment:
  6. WEB_PORTS: 80
  7. VIRTUAL_HOST: web.nginx-proxy.tld
  8. web-server-tokens-off:
  9. image: web
  10. expose:
  11. - "80"
  12. environment:
  13. WEB_PORTS: 80
  14. VIRTUAL_HOST: web-server-tokens-off.nginx-proxy.tld
  15. SERVER_TOKENS: "off"
  16. sut:
  17. image: nginxproxy/nginx-proxy:test
  18. volumes:
  19. - /var/run/docker.sock:/tmp/docker.sock:ro
  20. environment:
  21. HTTPS_METHOD: nohttps