mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-17 05:54:24 +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]
|
return [301]
|
||||||
if domain == '{{domains | get_domain('yourls')}}':
|
if domain == '{{domains | get_domain('yourls')}}':
|
||||||
return [403]
|
return [403]
|
||||||
# Default: Expect status code 200 or 302 for a domain
|
return [200, 302, 301]
|
||||||
return [200,302]
|
|
||||||
|
|
||||||
# file in which fqdn server configs are deposit
|
# file in which fqdn server configs are deposit
|
||||||
config_path = '{{nginx.directories.http.servers}}'
|
config_path = '{{nginx.directories.http.servers}}'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
features:
|
features:
|
||||||
matomo: true
|
matomo: true
|
||||||
css: true
|
css: true
|
||||||
portfolio_iframe: false
|
portfolio_iframe: true
|
||||||
domains:
|
domains:
|
||||||
canonical:
|
canonical:
|
||||||
- "html.{{ primary_domain }}"
|
- "html.{{ primary_domain }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user