- The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips.
- Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the documentation.
- Your web server is not properly set up to resolve “/.well-known/carddav”. Further information can be found in the documentation.
- The PHP OPcache is not properly configured. For better performance
it is recommended to use the following settings in the php.ini:
1234567
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1
Please double check the installation guides , and check for any errors or warnings in the log.
Cara Memperbaiki
The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips
1. Ubah file httpd.conf dengan perintah berikut:
1 | nano /etc/httpd/conf/httpd.conf |
2. Masukan baris berikut setelah
123 | <ifmodule mod_headers.c= "" > Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains" </ifmodule> |
Contoh:
01020304050607080910 | <virtualhost 139.162.62.27:443= "" > SuexecUserGroup "#1005" "#1001" ServerName drive.saad.web.id ServerAlias www.drive.saad.web.id ServerAlias mail.drive.saad.web.id ServerAlias webmail.drive.saad.web.id ServerAlias admin.drive.saad.web.id <ifmodule mod_headers.c= "" > Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains" </ifmodule> |
3. restart httpd dengan perintah
1 | systemctl restart httpd |
Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the documentation.
1. Buat direktori .well-know pada direktori root nextcloud dan berikan ownership pada direktori
1 | mkdir .well-known |
2. Buat direktori caldav pada direktori root nextcloud dan berikan ownership pada direktori
1 | mkdir .well-known/caldav |
Your web server is not properly set up to resolve “/.well-known/carddav”. Further information can be found in the documentation.
1. Buat direktori .well-know pada direktori root nextcloud dan berikan ownership pada direktori
1 | mkdir .well-known |
2. Buat direktori caldav pada direktori root nextcloud dan berikan ownership pada direktori
1 | mkdir .well-known/carddav |
3. Ubah .htaccess pada dokumen root nextcloud, dan masukkan baris berikut, ubah https://drive.saad.web.id/nextcloud. pada contoh berikut dokumen root nextcloud berada di public_html > nextcloud
12345 | RewriteRule ^\.well-known/host-meta https: //drive.saad.web.id/nextcloud/public.php?service=host-meta [QSA,L] RewriteRule ^\.well-known/host-meta\.json https: //drive.saad.web.id/nextcloud/public.php?service=host-meta-json [QSA,L] RewriteRule ^\.well-known/webfinger https: //drive.saad.web.id/nextcloud/public.php?service=webfinger [QSA,L] RewriteRule ^\.well-known/carddav https: //drive.saad.web.id/nextcloud/remote.php/dav/ [R=301,L] RewriteRule ^\.well-known/caldav https: //drive.saad.web.id/nextcloud/remote.php/dav/ [R=301,L] |
4. restart httpd dengan perintah
1 | systemctl restart httpd |
The PHP OPcache is not properly configured. For better performance it is recommended to use the following settings in the php.ini:
1. Install OPcache dengan perintah berikut
1 | yum install php-opcache |
2. Ubah opcache.ini dengan perintah berikut
1 | nano /etc/opt/rh/rh-php70/php.d/10-opcache.ini |
ubah Isi sesuai berikut
1234567 | opcache.enable=1 opcache.enable_cli=1 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=10000 opcache.memory_consumption=128 opcache.save_comments=1 opcache.revalidate_freq=1 |
3. restart httpd dengan perintah
1 | systemctl restart httpd |
Selamat Mencoba..