跳至內容
使用者工具
管理選單
登入
網站工具
搜尋
工具
顯示頁面
舊版
Fold/unfold all
反向連結
最近更新
多媒體管理器
網站地圖
登入
>
最近更新
多媒體管理器
網站地圖
About
Downloads
Contribute
Contact
足跡:
•
dokuwiki
wiki設定筆記
本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。
====== 系統: ====== <del>安裝 dokuwiki\\ 安裝 mail server</del> 安裝 web station 下載 dokuwiki 並解壓縮,依照指示安裝 接下來是安全性設定,參考下面網址 [[https://www.dokuwiki.org/security#web_access_security|https://www.dokuwiki.org/security#web_access_security]] 中「Deny Directory Access in Nginx」這段。參考本文件下面的「nginx設定」 ====== dokuwiki 安裝套件: ====== * Add New Page * ckgedit * color syntax plugin * discussion plugin * edittable plugin * folded plugin * Move plugin * newpagetemplate Plugin * PageQuery Plugin * saveandedit plugin * smtp plugin * Video Sharing Site Plugin * <del>iframe plugin</del> ====== WebStation設定: ====== php 安裝 openssl ====== MailServer設定: ====== ====== DNS設定: ====== [[https://github.com/namukcom/SynologyCloudFlareDDNS|https://github.com/namukcom/SynologyCloudFlareDDNS]] \\ 可能每次開機都需要設定一次 ====== nginx設定: ====== /etc/nginx/nginx.conf 用到 \\ app.d → /var/tmp/nginx/app.d \\ conf.d → /usr/local/etc/nginx/conf.d \\ sites-enabled → /usr/local/etc/nginx/sites-enabled \\ 進入 app.d 可以看到 server.webstation-vhost.conf 內的虛擬主機設定 \\ 裡面引用到 conf.d 下面的目錄。目錄裡面要加上設定檔(user.conf.dokuwiki),內容如下: <code> location ~ /(data|conf|bin|inc|vendor)/ { deny all; } </code> 另外 /etc/nginx/nginx.conf 內可看到 /.well-known/acme-challenge 的根目錄被連結到 /var/lib/letsencrypt 下, \\ 請在 /var/lib/letsencrypt 目錄下建立 ln .well-known → /volume1/web/.well-known/ 編輯完畢用 sudo nginx -t 測試,sudo nginx -s reload 重新載入。
CKG Edit
wiki設定筆記.txt
· 上一次變更: 2021/07/11 01:30 由
neko
頁面工具
顯示頁面
舊版
反向連結
Fold/unfold all
重新命名頁面
回到頁頂