blob: dbea6ad133a6c638dabedaff46fc829c5d880fcb (
plain) (
blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
Inks requires a working reverse proxy and https to work properly.
Before following this guide, acquire a domain and a certificate for it
(for example, using acme-client(1)).
Then, initialize the database:
$ doas su -l _inks -c 'inks init'
Then type in username, password, listen address and a site name.
The latter should be the same as your desired domain.
Enable and start the inks service:
$ doas rcctl enable inks && doas rcctl start inks
Configure relayd(8) to forward incoming connections to local endpoint
you specified at initialization step.
Here is an example relayd(8) config:
``` relayd.conf
table <inks> { 127.0.0.1 }
http protocol www {
tls keypair example.com
pass request forward to <inks>
}
relay www {
listen on egress port 443 tls
protocol www
forward to <inks> port 1268
}
```
Then enable and start relayd(8).
|