1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 11:56:31 +00:00
nginx-proxy/test/test_ssl/wildcard_cert_and_nohttps
2017-11-08 22:53:44 -05:00
..
certs TESTS: add test for the case in which a wildcard cert matches a container having nohttps set 2017-03-15 02:12:07 +01:00
docker-compose.yml TESTS: add test for the case in which a wildcard cert matches a container having nohttps set 2017-03-15 02:12:07 +01:00
README.md TESTS: add test for the case in which a wildcard cert matches a container having nohttps set 2017-03-15 02:12:07 +01:00
test_wildcard_cert_nohttps.py Catch SSLError instead of CertificateError 2017-11-08 22:53:44 -05:00

In this scenario, we have a wildcard certificate for *.web.nginx-proxy.tld and 3 web containers:

  • 1.web.nginx-proxy.tld
  • 2.web.nginx-proxy.tld
  • 3.web.nginx-proxy.tld

We want web containers 1 and 2 to support SSL, but 3 should not (using HTTPS_METHOD=nohttps)