fix: use certificate host for deployment health checks
This commit is contained in:
@@ -12,5 +12,6 @@ def test_edge_hsts_ownership_is_explicit_and_verified():
|
||||
assert 'os.getenv("DJANGO_HSTS_AT_EDGE", "false")' in settings
|
||||
assert '["security.W004"]' in settings
|
||||
assert "DJANGO_HSTS_AT_EDGE=true" in workflow
|
||||
assert 'DEPLOY_HEALTH_HOST="math.jacky0987.xyz"' in workflow
|
||||
assert "strict-transport-security:.*max-age=[1-9][0-9]*" in deploy
|
||||
assert "DJANGO_HSTS_AT_EDGE=false" in example
|
||||
|
||||
Reference in New Issue
Block a user