forked from ccchb/ansible
Enable HSTS for mediawiki
This commit is contained in:
parent
3c1aed2eee
commit
c5ecf1df63
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ mediawiki_nginx_conf: |
|
|||
ssl_certificate_key /etc/letsencrypt/live/{{ mediawiki_domain }}/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/{{ mediawiki_domain }}/chain.pem;
|
||||
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
include snippets/certbot.conf;
|
||||
|
|
Loading…
Reference in a new issue