9 lines
362 B
Text
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
|