mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-05 09:51:37 +02:00
Adapted webserver test for web-app-yourls
This commit is contained in:
@@ -20,7 +20,7 @@ def get_expected_statuses(domain: str, parts: list[str], redirected_domains: set
|
||||
if (parts and parts[0] == 'www') or (domain in redirected_domains):
|
||||
return [301]
|
||||
if domain == '{{domains | get_domain('web-app-yourls')}}':
|
||||
return [403]
|
||||
return [{{ applications | get_app_conf(application_id, 'server.status_code.landingpage', True) }}]
|
||||
return [200, 302, 301]
|
||||
|
||||
# file in which fqdn server configs are deposit
|
||||
|
Reference in New Issue
Block a user