Skip to content

Commit

Permalink
automatic support for atatus multiple vhost tracking with php
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth authored May 24, 2023
1 parent 38aab1e commit b8ac542
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/config-based-virtual-host.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ CustomLog /var/log/{{ host.domain }}-access.log "%l %u %t \"%r\" %>s %b"
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted
</Directory>
<IfModule php7_module>
php_value atatus.app_name "{{ host.domain }}"
</IfModule>
Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
Header set Content-Security-Policy upgrade-insecure-requests
RewriteEngine On
Expand Down

0 comments on commit b8ac542

Please sign in to comment.