- one cloud vm
- Tailscale account
- Deploy a service locally
- Add local device into tailscale
- Register another Tailscale account
- Install Tailscale here
- Connect to Tailscales - CLI Reference
sudo tailscale up- Check whether device is connected to Tailscale
tailscale status- Install NGINX - reference here
- Use
proxy_passto pass a request to proxied server (local) - reference here - Restart Nginx service
sudo service nginx restart- Install Let's Encrypt certbot tutorials here
sudo certbot --nginx -d devtalk-26.malaysia-ai.org -d devtalk-26.malaysia-ai.org
- Re-configure nginx configuration
- Enable port 443 on lightsail firewall
- Restart Nginx service