mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-16 21:44:25 +02:00
Optimized healh checks
This commit is contained in:
parent
aacc6877cb
commit
96e2a0033f
@ -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}}'
|
||||
|
@ -1,7 +1,7 @@
|
||||
features:
|
||||
matomo: true
|
||||
css: true
|
||||
portfolio_iframe: false
|
||||
portfolio_iframe: true
|
||||
domains:
|
||||
canonical:
|
||||
- "html.{{ primary_domain }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user