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

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