From b4bcd0b96b1a1f63c842537c55f6f7bf332248ee Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Tue, 17 Mar 2020 22:24:13 +0800 Subject: [PATCH] man: add the --base-path option --- man/ttyd.1 | 4 ++++ man/ttyd.man.md | 3 +++ 2 files changed, 7 insertions(+) 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 -- 2.43.4