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.
Published at
2024-10-01 19:40:58Event JSON
{
"id": "5684bcc0a97e1c5acb243577c20fc1ed79e1bcf723246a87c316cba2b454bb89",
"pubkey": "ec965405e11a6a6186b27fa451a2ffc1396ede7883d2ea11c32fbd2c63996966",
"created_at": 1727811658,
"kind": 1,
"tags": [
[
"p",
"47259076c85f9240e852420d7213c95e95102f1de929fb60f33a2c32570c98c4"
],
[
"e",
"8fb0e7654657b9ad25cba02d8d7970314f64ba80a0ac0a981be5fa8cfdb57eb9",
"",
"root"
],
[
"e",
"ff55d3bd8ac425496a2bc1c067ad171e6b1a27ddeb2b0076e808b2feecf9b2a0",
"",
"reply"
]
],
"content": "Thanks for responding!\n\nThe 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.\u003cmy domain\u003e.org) but am getting the error “websocket connection to wss://\u003cmydomain\u003e.org/relay failed” in the browser console and a blank ditto timeline when I visit it.\n\nIt seems to be trying to connect to wss://\u003cmydomain\u003e/relay, when I want it to connect to wss://notes.\u003cmydomain\u003e.org. The main domain https://\u003cmydomain\u003e.org leads to a separate Wordpress blog on bluehost, so I imagine that’s why it’s not able to connect to wss://\u003cmydomain\u003e.org/relay. I created the notes.\u003cmydomain\u003e.org subdomain to use just for this.\n\nI 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.\u003cmydomain\u003e.org NOT wss://\u003cmydomain\u003e.org/relay)\n\nYou 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. \n\n",
"sig": "adb45ea2a6e3928ccd5bf82564aed5cd2478786f1cfe6df167fff08bff23a6df68053d5a417fce3962b33fdb35725370ab01df0d5419c12bc7b0b4d843bd8330"
}