使用者工具

網站工具


wiki設定筆記

這是本文件的舊版!


系統:

安裝 dokuwiki
安裝 mail server

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
  • iframe plugin

WebStation設定:

php 安裝 openssl

MailServer設定:

DNS設定:

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 下面的目錄。目錄裡面要加上設定檔(dokuwiki.conf),內容如下:

location ~ /(data|conf|bin|inc|vendor)/ {
    deny all;
}

另外 /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 重新載入。

您可在登入後發表意見。
wiki設定筆記.1577976712.txt.gz · 上一次變更: 2020/01/02 22:51 由 neko