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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM