Frequently Asked Question

HSTS aktivieren

Last Updated 9 months ago
### HSTS aktivieren ###
### -------------------
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" "expr=%{SERVER_PORT} == 443"

Bei PHP mit FPM:
Datei "/files/hsts.php" erstellen mit folgendem Inhalt:

<?php
header("Strict-Transport-Security: max-age=63072000; includeSubDomains; preload");

Danach im Anwendungsverzeichnis (/html/wordpress/) folgendes in die .user.ini eintragen:

auto_prepend_file = /home/www/pXXXXXX/files/hsts.php 

Prüfungs-Tools:
https://securityheaders.com/
https://hstspreload.org/

Please Wait!

Please wait... it will take a second!