diff options
Diffstat (limited to 'templates/vhosts/webdav/webdav.erb')
-rw-r--r-- | templates/vhosts/webdav/webdav.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/vhosts/webdav/webdav.erb b/templates/vhosts/webdav/webdav.erb index a4508b3..72b3e9a 100644 --- a/templates/vhosts/webdav/webdav.erb +++ b/templates/vhosts/webdav/webdav.erb @@ -140,6 +140,10 @@ </IfModule> <%- end -%> + <%- if ssl_mode.to_s == 'force' then -%> + Header add Strict-Transport-Security "max-age=15768000" + + <%- end -%> DAVLockDB <%= real_dav_db_dir %>/DAVLock <Directory "<%= documentroot %>/"> Dav on |