summaryrefslogtreecommitdiffstats
path: root/debian/local/apache2/ttyd.conf
blob: 9dcd79d24c84b9e2c141b3c154df15805b432b70 (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://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>