From: Shuanglei Tao Date: Tue, 17 Mar 2020 14:24:13 +0000 (+0800) Subject: man: add the --base-path option X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=b4bcd0b96b1a1f63c842537c55f6f7bf332248ee;p=ttyd.git man: add the --base-path option --- diff --git a/man/ttyd.1 b/man/ttyd.1 index a772d50..cc49f3a 100644 --- a/man/ttyd.1 +++ b/man/ttyd.1 @@ -91,6 +91,10 @@ Cross platform: macOS, Linux, FreeBSD/OpenBSD, OpenWrt/LEDE, Windows \-I, \-\-index 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 diff --git a/man/ttyd.man.md b/man/ttyd.man.md index 7d7ed29..e963d43 100644 --- a/man/ttyd.man.md +++ b/man/ttyd.man.md @@ -63,6 +63,9 @@ ttyd 1 "September 2016" ttyd "User Manual" -I, --index 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