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