bundles/nginx: always use first of month for security.txt expiry
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-06-19 08:49:10 +02:00
parent d4659fd189
commit 8d331b0086
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -94,7 +94,7 @@ svc_systemd = {
now = datetime.now() now = datetime.now()
in_three_months = now + timedelta(days=90) in_three_months = now + timedelta(days=90)
default_security_expiry = in_three_months.strftime('%Y-%m-%d') + 'T00:00:00.000Z' default_security_expiry = in_three_months.strftime('%Y-%m') + '-01T00:00:00.000Z'
for vhost, config in node.metadata.get('nginx/vhosts', {}).items(): for vhost, config in node.metadata.get('nginx/vhosts', {}).items():
if not 'domain' in config: if not 'domain' in config: