bundles/nginx: add a default security.txt to all vhosts
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-06-03 18:56:28 +02:00
parent 0a7e5bcdcd
commit 1fbc08f74b
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 51 additions and 1 deletions

View file

@ -72,6 +72,12 @@ server {
alias /var/lib/dehydrated/acme-challenges/;
}
% if security_txt:
location = /.well-known/security.txt {
alias /etc/nginx/security.txt.d/${vhost};
}
% endif
% if proxy:
% for location, options in proxy.items():
location ${location} {