mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #1214 from owncloud/LukasReschke-patch-1
Add includeSubDomains + preload recommendation
This commit is contained in:
@@ -119,10 +119,15 @@ VirtualHost file:
|
||||
|
||||
<VirtualHost *:443>
|
||||
ServerName cloud.owncloud.com
|
||||
Header always add Strict-Transport-Security "max-age=15768000"
|
||||
Header always add Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
||||
</VirtualHost>
|
||||
|
||||
It shall be noted that this requires that the ``mod_headers`` extension to be installed.
|
||||
Be aware that above policy will also apply for all subdomains, if you don't
|
||||
have HTTPS properly configured on all subdomains you mut remove the ``includeSubdomains``
|
||||
part.
|
||||
|
||||
Furthermore it shall be noted that this requires that the ``mod_headers``
|
||||
extension is installed.
|
||||
|
||||
Proper SSL configuration
|
||||
************************
|
||||
|
||||
Reference in New Issue
Block a user