
* feat: customizable error page * fix: use regex on catchall root location to fix DEFAULT_ROOT=none test * docs: custom error pages * fix: don't use default nginx image error page * docs: small fix
8 lines
248 B
Python
8 lines
248 B
Python
import pytest
|
|
import re
|
|
|
|
|
|
def test_custom_error_page(docker_compose, nginxproxy):
|
|
r = nginxproxy.get("http://unknown.nginx-proxy.tld")
|
|
assert r.status_code == 503
|
|
assert re.search(r"Damn, there's some maintenance in progress.", r.text)
|