go-ssb-room
go-ssb-room copied to clipboard
.deb install
I installed go-ssb-room_2.0.6_Linux_x86_64.deb
I had a look in sudo nano /etc/systemd/system/go-ssb-room.service
Which showed. localhost:8899
I had a look at https://github.com/ssb-ngi-pointer/go-ssb-room/blob/master/docs/files/debian-postinstall.sh So I did adduser --system --home /var/lib/go-ssb-room go-ssb-room chown go-ssb-room /var/lib/go-ssb-room sudo systemctl daemon-reload sudo systemctl start go-ssb-room
http://127.0.0.1:8899/ displays 'bad host'
I don't really understand what this line means: "you need to at least change the https domain in the systemd service."
Is it configured to work out of the box on localhost?
cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" 5.10.0-13-amd64
:wave: @samuk, it is referring to the option provided by the go-ssb-room
binary:
➜ server (master) ✔ ./server -h
Usage of ./server:
...
-https-domain string
which domain to use for TLS and AllowedHosts checks
...
You can see an example of this in the example systemd file:
https://github.com/ssb-ngi-pointer/go-ssb-room/blob/6f5edbaa438fe473cc865e283bb3fd32de231c44/docs/files/example-systemd.service#L15
Where you need to change -https-domain my-example-room.somewhere
to your domain.
I think this could be clearer in the output, do you have a suggestion? We could submit a docs PR then.