Changed 401 to 404 of listmonk

This commit is contained in:
Kevin Veen-Birkenbach 2024-02-07 22:28:05 +01:00
parent 1736d2b876
commit 81c0aacec5

View File

@ -30,7 +30,7 @@ for filename in os.listdir(config_path):
# Determine expected status codes based on the domain # Determine expected status codes based on the domain
if domain == '{{domain_listmonk}}': if domain == '{{domain_listmonk}}':
expected_statuses = [401] expected_statuses = [404]
{% if nginx_matomo_tracking | bool %} {% if nginx_matomo_tracking | bool %}
elif parts[0] == 'www' or domain in redirected_domains: elif parts[0] == 'www' or domain in redirected_domains:
expected_statuses = [301] expected_statuses = [301]