Faalkaart fixes
https://basisbeveiliging.nl/report/NL/cyber_non_profit/1720
This commit is contained in:
parent
ec1a3662f8
commit
5ae55c6c5b
8 changed files with 44 additions and 29 deletions
|
@ -1,8 +1,18 @@
|
|||
---
|
||||
- name: Install dependencies
|
||||
apt:
|
||||
name:
|
||||
- php-fpm
|
||||
name: php-fpm
|
||||
state: present
|
||||
|
||||
- import_tasks: ../../../snippets/common-nginx.yaml
|
||||
|
||||
- name: Install security.txt
|
||||
template:
|
||||
src: security.txt
|
||||
dest: /opt/security.txt
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
- name: Allow HTTP/HTTPS
|
||||
iptables:
|
||||
|
|
|
@ -127,5 +127,9 @@ server {
|
|||
alias /opt/matrix-delegation.json;
|
||||
}
|
||||
|
||||
location = /.well-known/security.txt {
|
||||
alias /opt/security.txt;
|
||||
}
|
||||
|
||||
include "snippets/acme.conf";
|
||||
}
|
||||
|
|
3
roles/www/templates/security.txt
Normal file
3
roles/www/templates/security.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Contact: mailto:bestuur@bitlair.nl
|
||||
Preferred-Languages: nl, en
|
||||
Hiring: https://bitlair.nl/Deelnemer_Worden
|
Loading…
Add table
Add a link
Reference in a new issue