Second question. How do I enable wss for this?
Certbot. I just updated readme with some instructions on it
Hmm. I've tried, and everything seemed to work. I added your nginx config and have it enabled. I ran certbot successfully. I can see the index.html successfully over https. Still I can't connect to the relay via wss, but it works when I use ws:
Would a sample docker-compose file with traefik and the wot relay setup be useful? This is what I currently use.
Sure, I can take a look, I'd love to get this running. I'm not familiar with these, but I've got LLM on my side.
https://github.com/gbozee/wot-relay/blob/master/docker-compose.yml you would want to replace the host settings (line 28) with your domain/subdomain. Starting both services should be fine. Also I reduced the size of the final docker image.
I'm going to look into that, I think I need to learn docker. For now I have it successfully connecting over wss! Except it just gives errors. OK 😅 https://i.nostr.build/BQNOu5UxkpKQyZo4.jpg