bundlewrap/bundles/nginx/files/security.txt
Franziska Kunsmann 1fbc08f74b
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/nginx: add a default security.txt to all vhosts
2021-06-03 18:57:25 +02:00

9 lines
362 B
Text

Contact: ${vhost.get('contact', repo.libs.defaults.security_email)}
Expires: ${vhost.get('expires', expiry)}
Preferred-Languages: ${','.join(sorted(vhost.get('lang', repo.libs.defaults.security_lang)))}
Canonical: ${proto}://${domain}/.well-known/security.txt
% for key, value in sorted(vhost.items()):
% if key[0].isupper():
${key}: ${value}
% endif
% endfor