summaryrefslogtreecommitdiffstats
path: root/debian/local/apache2/ttyd.conf
blob: eb3224999d195d84386e57d30b6e521a3a5687f9 (plain)
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://localhost:7681/ws
	ProxyPassReverse /ttyd/ws ws://localhost:7681/ws

	ProxyPass /ttyd http://localhost:7681 keepalive=on
	ProxyPassRevers /ttyd http://localhost:768

	<IfFile /etc/ttyd/apache2-auth.conf>
		<Location /ttyd>
			Include /etc/ttyd/apache2-auth.conf
		</Location>
	</IfFile>
</IfModule>