From 26eb396fa5b37bd3d932402fe6b3000e3c999750 Mon Sep 17 00:00:00 2001 From: Minho Date: Sun, 25 Mar 2018 16:48:09 +0800 Subject: [PATCH] =?UTF-8?q?Created=20=E9=85=8D=E5=90=88nginx=E8=AE=A9MinDo?= =?UTF-8?q?c=E8=BF=90=E8=A1=8C=E5=9C=A8=E4=BA=8C=E7=BA=A7=E5=AD=90?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 配合nginx让MinDoc运行在二级子目录.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 配合nginx让MinDoc运行在二级子目录.md diff --git a/配合nginx让MinDoc运行在二级子目录.md b/配合nginx让MinDoc运行在二级子目录.md new file mode 100644 index 0000000..da00310 --- /dev/null +++ b/配合nginx让MinDoc运行在二级子目录.md @@ -0,0 +1,9 @@ +从 v0.10 以及以上版本开发,MinDoc支持运行在二级子目录。 + +要想让MinDoc运行在二级子目录,需要在app.conf配置文件中配置`baseurl`项为你的域名,例如:`https://www.iminho.me/wiki`。 + +之后,在nginx中配置路由规则,将属于MinDoc的路由重定向到MinDoc端口。配置如下: + +``` + +``` \ No newline at end of file