Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


centos7_webdav

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
centos7_webdav [2017/01/09 15:32]
admin [Test]
centos7_webdav [2017/01/09 20:01]
admin
Line 19: Line 19:
  ​dav_fs_module (shared)  ​dav_fs_module (shared)
  ​dav_lock_module (shared)  ​dav_lock_module (shared)
 +</​code>​
 +  * Enable the headers module (for HSTS), create ''/​etc/​httpd/​conf.modules.d/​00-headers.conf''<​code>​
 +LoadModule headers_module modules/​mod_headers.so
 </​code>​ </​code>​
  
Line 65: Line 68:
   SSLCertificateKeyFile ​   SSLCertificateKeyFile ​
   SSLCACertificateFile   SSLCACertificateFile
 +
 +  Header always set Strict-Transport-Security "​max-age=63072000;​ includeSubDomains"​
  
   DocumentRoot /​var/​www/​html/​   DocumentRoot /​var/​www/​html/​
centos7_webdav.txt ยท Last modified: 2017/01/09 20:01 by admin