centos7_webdav
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
centos7_webdav [2017/01/09 14:26] – [Configuration] admin | centos7_webdav [2017/01/09 19:01] – admin | ||
---|---|---|---|
Line 19: | Line 19: | ||
| | ||
| | ||
+ | </ | ||
+ | * Enable the headers module (for HSTS), create ''/ | ||
+ | LoadModule headers_module modules/ | ||
</ | </ | ||
Line 65: | Line 68: | ||
SSLCertificateKeyFile | SSLCertificateKeyFile | ||
SSLCACertificateFile | SSLCACertificateFile | ||
+ | |||
+ | Header always set Strict-Transport-Security " | ||
DocumentRoot / | DocumentRoot / | ||
Line 100: | Line 105: | ||
# generate password with pwgen | # generate password with pwgen | ||
</ | </ | ||
- | * Change SELinux policy:< | + | * Change SELinux policy |
yum install policycoreutils-python | yum install policycoreutils-python | ||
semanage fcontext -a -t httpd_sys_rw_content_t "/ | semanage fcontext -a -t httpd_sys_rw_content_t "/ | ||
Line 108: | Line 113: | ||
firewall-cmd --reload</ | firewall-cmd --reload</ | ||
====Test==== | ====Test==== | ||
+ | * For example from Gnome Nautilus. |
centos7_webdav.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1