Optimized healh checks

This commit is contained in:
Kevin Veen-Birkenbach 2025-05-29 13:39:36 +02:00
parent aacc6877cb
commit 96e2a0033f
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
2 changed files with 2 additions and 3 deletions

View File

@ -21,8 +21,7 @@ def get_expected_statuses(domain: str, parts: list[str], redirected_domains: set
return [301]
if domain == '{{domains | get_domain('yourls')}}':
return [403]
# Default: Expect status code 200 or 302 for a domain
return [200,302]
return [200, 302, 301]
# file in which fqdn server configs are deposit
config_path = '{{nginx.directories.http.servers}}'

View File

@ -1,7 +1,7 @@
features:
matomo: true
css: true
portfolio_iframe: false
portfolio_iframe: true
domains:
canonical:
- "html.{{ primary_domain }}"