Add more configuration files and templates
This commit is contained in:
parent
0b862e9110
commit
ee907705a8
16 changed files with 213 additions and 24 deletions
7
files/add_headers.cof
Normal file
7
files/add_headers.cof
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Managed by Ansible
|
||||
|
||||
add_header Referrer-Policy $referrerpolicy;
|
||||
add_header Strict-Transport-Security $sts;
|
||||
add_header X-Content-Type-Options $xcontentoptions;
|
||||
add_header X-XSS-Protection $xxssprotection;
|
||||
add_header X-Frame-Options $xframeoptions;
|
6
files/letsencrypt.conf
Normal file
6
files/letsencrypt.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Managed by Ansible
|
||||
|
||||
location /.well-known/acme-challenge {
|
||||
default_type "text/plain";
|
||||
alias /var/lib/dehydrated/acme-challenges/;
|
||||
}
|
7
files/request_limits.conf
Normal file
7
files/request_limits.conf
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Managed by Ansible
|
||||
|
||||
limit_req_zone $binary_remote_addr zone=one:10m rate=30r/m;
|
||||
limit_req_zone $binary_remote_addr zone=wordpress:10m rate=10r/m;
|
||||
limit_req_zone $server_name zone=perserver:10m rate=20r/m;
|
||||
limit_req_status 444;
|
||||
limit_conn_zone $binary_remote_addr zone=addr:10m;
|
Loading…
Add table
Add a link
Reference in a new issue