blob: 66b1850e740c0e550bac2b164125abb6e2a31399 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# /etc/apache2/conf-available/ttyd.conf
<IfModule rewrite_module>
<IfModule proxy_http_module>
<IfModule proxy_wstunnel_module>
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /ttyd/token ws://localhost:7681/token
ProxyPassReverse /ttyd/token ws://localhost:7681/token
ProxyPass /ttyd/ws ws://localhost:7681/ws
ProxyPassReverse /ttyd/ws ws://localhost:7681/ws
ProxyPass /ttyd http://localhost:7681
ProxyPassReverse /ttyd http://localhost:7681
<IfFile /etc/ttyd/apache2-auth.conf>
<Location /ttyd>
Include /etc/ttyd/apache2-auth.conf
</Location>
</IfFile>
</IfModule>
</IfModule>
</IfModule>
|