mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 09:48:14 +00: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"
|