diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:54:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:54:31 +0000 |
commit | db1cb443e03f2b1e5176fa07b28b7f2cb547c0e5 (patch) | |
tree | 3ba77a067ab4f86e889cd259b8a7338910cbb782 /debian/local | |
parent | Adding upstream version 1.7.4. (diff) | |
download | ttyd-db1cb443e03f2b1e5176fa07b28b7f2cb547c0e5.tar.xz ttyd-db1cb443e03f2b1e5176fa07b28b7f2cb547c0e5.zip |
Adding debian version 1.7.4-1.debian/1.7.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/apache2/ttyd.conf | 18 | ||||
-rw-r--r-- | debian/local/default/ttyd | 3 |
2 files changed, 21 insertions, 0 deletions
diff --git a/debian/local/apache2/ttyd.conf b/debian/local/apache2/ttyd.conf new file mode 100644 index 0000000..9dcd79d --- /dev/null +++ b/debian/local/apache2/ttyd.conf @@ -0,0 +1,18 @@ +# /etc/apache2/conf-available/ttyd.conf + +<IfModule mod_proxy.c> + ProxyRequests Off + ProxyPreserveHost On + + ProxyPass /ttyd/ws ws://127.0.0.1:7681/ws + ProxyPassReverse /ttyd/ws ws://127.0.0.1:7681/ws + + ProxyPass /ttyd http://127.0.0.1:7681 keepalive=on + ProxyPassReverse /ttyd http://127.0.0.1:7681 + + <IfFile /etc/ttyd/apache2-auth.conf> + <Location /ttyd> + Include /etc/ttyd/apache2-auth.conf + </Location> + </IfFile> +</IfModule> diff --git a/debian/local/default/ttyd b/debian/local/default/ttyd new file mode 100644 index 0000000..526f877 --- /dev/null +++ b/debian/local/default/ttyd @@ -0,0 +1,3 @@ +# /etc/default/ttyd + +TTYD_OPTIONS="-i lo -p 7681 -O login" |