vault backup: 2024-03-10 13:28:24
This commit is contained in:
@@ -77,4 +77,36 @@ $CONFIG = array (
|
|||||||
'maintenance' => false,
|
'maintenance' => false,
|
||||||
'loglevel' => 2,
|
'loglevel' => 2,
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 遇到的問題
|
||||||
|
1. 你經由安全的連線存取系統,但系統卻生成了不安全的 URL。這很有可能是因為你使用了反向代理伺服器,但反向代理伺服器的改寫規則並未正常工作,請閱讀關於此問題的文件頁面 ↗。
|
||||||
|
1. 在 `config/config/php` 新增
|
||||||
|
```
|
||||||
|
'overwriteprotocol' => 'https',
|
||||||
|
'overwrite.cli.url' => 'https://nc.awin.one',
|
||||||
|
```
|
||||||
|
這兩行
|
||||||
|
|
||||||
|
2. 增加 cron: `nextcloud_clean.sh` 在 crontab
|
||||||
|
1. `*/5 * * * * /home/awin/script/nextcloud_clean.sh`
|
||||||
|
|
||||||
|
3. 伺服器未設定維護時段的開始時間。這代表了每天耗費大量資源的背景作業也會在您主要使用的時間內執行。我們建議將其設定為低使用率的時間,以減少使用者受到這些繁重任務帶來的負載影響。
|
||||||
|
1. 在 `config/config/php` 增加 `'maintenance_window_start' => 1,`
|
||||||
|
|
||||||
|
4. 您並未設定手機國際冠碼。設定後使用者在個人檔案設定手機號碼時不必再輸入國際冠碼。若要這樣做,請新增「default_phone_region」至設定檔,允許的國家及地區請參閱 ISO 3166-1 code 清單。
|
||||||
|
1. 在 `config/config/php` 增加 `'default_phone_region' => 'TWN',`
|
||||||
|
|
||||||
|
5. 您尚未為 WOPI 請求設定允許清單。若無此設定,使用者可以透過 WOPI 請求將受限制的檔案下載至 Nextcloud 伺服器
|
||||||
|
|
||||||
|
6. 此站台缺少一些建議的 PHP 模組。為了改善效能與相容性,強烈建立您安裝這些模組:bz2
|
||||||
|
|
||||||
|
7. How to know if redis is being used
|
||||||
|
```
|
||||||
|
docker exec -it redis /bin/sh
|
||||||
|
cd
|
||||||
|
redis-cli monitor
|
||||||
|
ctrl+c
|
||||||
|
```
|
||||||
|
|
||||||
|
8. gmail app password for nextcloud: `stcg ozpc ypsl enbp`
|
||||||
Reference in New Issue
Block a user