What is Nostr?
miggymofongo
npub1ajt…c0cs
2024-10-01 19:40:58
in reply to nevent1q…7crc

miggymofongo on Nostr: Thanks for responding! The install guide is well written, thanks for sharing. I got ...

Thanks for responding!

The install guide is well written, thanks for sharing. I got the SSL certificate and am able to access the main ditto page at the URL I set in the nginx config server block (https://notes.<my domain>.org) but am getting the error “websocket connection to wss://<mydomain>.org/relay failed” in the browser console and a blank ditto timeline when I visit it.

It seems to be trying to connect to wss://<mydomain>/relay, when I want it to connect to wss://notes.<mydomain>.org. The main domain https://<mydomain>.org leads to a separate Wordpress blog on bluehost, so I imagine that’s why it’s not able to connect to wss://<mydomain>.org/relay. I created the notes.<mydomain>.org subdomain to use just for this.

I think my question is how can I update the url that ditto uses for the wss connection to match the one I set in the nginx config ? (I want it to use wss://notes.<mydomain>.org NOT wss://<mydomain>.org/relay)

You could DM me a response or comment back on here. Let me know if I wasn’t clear. I’m using a vps on digital ocean.

Author Public Key
npub1ajt9gp0prf4xrp4j07j9rghlcyukahncs0fw5ywr977jccued9nqrcc0cs