man: add the --base-path option

This commit is contained in:
Shuanglei Tao
2020-03-17 22:24:13 +08:00
parent 2fdb4c0c03
commit b4bcd0b96b
2 changed files with 7 additions and 0 deletions

View File

@@ -91,6 +91,10 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows
\-I, \-\-index <index file>
Custom index.html path
.PP
\-b, \-\-base\-path
Expected base path for requests coming from a reverse proxy (eg: /mounted/here)
.PP
\-6, \-\-ipv6
Enable IPv6 support

View File

@@ -63,6 +63,9 @@ ttyd 1 "September 2016" ttyd "User Manual"
-I, --index <index file>
Custom index.html path
-b, --base-path
Expected base path for requests coming from a reverse proxy (eg: /mounted/here)
-6, --ipv6
Enable IPv6 support