mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-02-05 05:41:39 +01:00
9 lines
317 B
Python
9 lines
317 B
Python
import pytest
|
|
|
|
|
|
@pytest.mark.parametrize('subdomain', ['web1', 'web2', 'web3'])
|
|
def test_upstream_with_https_virtual_proto(docker_compose, nginxproxy, subdomain):
|
|
r = nginxproxy.get(f"http://{subdomain}.nginx-proxy.tld")
|
|
assert r.status_code == 200
|
|
assert r.text == f"This is {subdomain}.nginx-proxy.tld"
|