Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
Para redireccionar los accesos http a https
<VirtualHost *:80>
ServerName localhost
Redirect permanent / https://mi.url/
</VirtualHost>,
ServerName localhost
Redirect permanent / https://mi.url/
</VirtualHost>,
Fuente: https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/harden_server.html
No hay comentarios:
Publicar un comentario