centos7_webdav
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
centos7_webdav [2017/01/09 14:26] – [Configuration] admin | centos7_webdav [2021/10/09 15:14] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
- | ~~TOC~~ | ||
=====CentOS 7, WebDAV===== | =====CentOS 7, WebDAV===== | ||
Line 19: | Line 18: | ||
| | ||
| | ||
+ | </ | ||
+ | * Enable the headers module (for HSTS), create ''/ | ||
+ | LoadModule headers_module modules/ | ||
</ | </ | ||
Line 65: | Line 67: | ||
SSLCertificateKeyFile | SSLCertificateKeyFile | ||
SSLCACertificateFile | SSLCACertificateFile | ||
+ | |||
+ | Header always set Strict-Transport-Security " | ||
DocumentRoot / | DocumentRoot / | ||
Line 100: | Line 104: | ||
# 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 112: | ||
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