contrib/tlstunnel: new document
This commit is contained in:
parent
a52cd5aa43
commit
ec3f0bfd96
22
contrib/tlstunnel.md
Normal file
22
contrib/tlstunnel.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# Setting up tlstunnel with soju
|
||||||
|
|
||||||
|
[tlstunnel] can be used in front of soju to take care of TLS.
|
||||||
|
|
||||||
|
## tlstunnel configuration
|
||||||
|
|
||||||
|
```
|
||||||
|
frontend {
|
||||||
|
listen irc.example.org:6697
|
||||||
|
backend tcp+proxy://localhost:6667
|
||||||
|
protocol irc
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## soju configuration
|
||||||
|
|
||||||
|
```
|
||||||
|
listen irc+insecure://localhost
|
||||||
|
accept-proxy-ip localhost
|
||||||
|
```
|
||||||
|
|
||||||
|
[tlstunnel]: https://git.sr.ht/~emersion/tlstunnel
|
Loading…
Reference in New Issue
Block a user