File: ttyd.conf

package info (click to toggle)
ttyd 1.7.7-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,080 kB
  • sloc: ansic: 17,751; sh: 184; javascript: 160; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 432 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>