NEXTCLOUD 常见错误

HTTP请求头“Strict-Transport-Security”没有配置为至少“15552000”秒出于增强安全性考虑推荐按照安全提示中的说明启用HSTS

<VirtualHost *:443>
  ServerName cloud.nextcloud.com
    <IfModule mod_headers.c>
      Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
    </IfModule>
 </VirtualHost>

 

Redirect all unencrypted traffic to HTTPS

 <VirtualHost *:80>
   ServerName cloud.nextcloud.com
   Redirect permanent / https://cloud.nextcloud.com/
</VirtualHost>

opache

vi /etc/php.d/opache.ini

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

How to fix "No apps found for your version"

nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php
                }
                $options = [
-                       'timeout' => 10,
+                       'timeout' => 300,
                ];


sudo -u nginx php occ db:convert-filecache-bigint --no-interaction

posted @ 2020-05-24 13:57  tamatama  阅读(1298)  评论(0编辑  收藏  举报
GO TOP