Browse Source

+ remove include sub domains from hsts policy

master
dimti 5 months ago
parent
commit
7f393e79d7
  1. 6
      playbooks/debops/apache.yml

6
playbooks/debops/apache.yml

@ -59,6 +59,12 @@
tasks_from: 'main_env' tasks_from: 'main_env'
tags: [ 'role::apache', 'role::apache:env' ] tags: [ 'role::apache', 'role::apache:env' ]
post_tasks:
- name: Remove include subdomains for HSTS policy
shell: |-
sed -i '/; includeSubDomains/d' etc/apache2/sites-available/000-default.conf
roles: roles:
- role: apache - role: apache

Loading…
Cancel
Save