Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 3
Generated: 08:16:31
GM A daily reminder to wake up before anyone else in your house. Things done over the weekend (staying away from Nostr!): Installed a new OS on the desktop. Installed Ollama and a few AI models locally. Installed Goose AI Agent. Practiced my terminal skills. Things done so far today: 100 push-ups. Checked Nostr. Read the Bible (James 1) & prayed. Checked Nostr again. Learned about Docker vs. Podman and how to deploy a VPS... still daydreaming and thinking that one day I may be able to host the many open-source apps I’m currently paying for in managed services. Posted a GM on Nostr. Now waiting for my wife to come down to pray with me. Ready for a new week!
2025-02-17 11:17:10 from 1 relay(s) 2 replies ↓
Login to reply

Replies (3)

> and how to deploy a VPS The VPS is just a virtual server, you will use an nginx or whatever reverse proxy to map your domains/sub-domains to your services. So, the actual deployment process will be on your device, then the nginx will handle the rest, because they the only one have access to listen on 80 (http) and 443 (https). The nginx can reach your localhost, other can't, so host your services on 127.0.0.1 and choice whatever port you want, but it's recommended to be 49152–65535 because "This range is used for private or customized services"Wikipedia. Don't bind your services to 0.0.0.0 because anyone can access them using your VPS ip, this IP "In the context of servers, 0.0.0.0 means "all IPv4 addresses on the local machine". If a host has two ip addresses, 192.168.1.1 and 10.1.2.1, and a server running on the host listens on 0.0.0.0, it will be reachable at both of those IPs."Wikipedia.
2025-02-17 11:59:20 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
So, as you can see, you actually deploy to your localhost, then the nginx will make it accessible, so you can run a VM and train in it, deploy your services in it and try to access it through your VPS LAN IP address. Enjoy, if you encounter anything don't be afraid to ask nostr. AlsoI recommend netcup.com when you decide to rent a VPS.
2025-02-17 12:06:00 from 1 relay(s) ↑ Parent Reply