Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
I believe that you need to configure Caddy to reverse proxy requests from port 80 to your Go app on port 4000.
To do that you have to update your Caddy config file and add a reverse proxy rule, eg:
http://<your-droplet-ip> {
reverse_proxy 127.0.0.1:4000
}
Just replace the <your-droplet-ip> with your actual Droplet IP address and then restart Caddy:
sudo systemctl restart caddy
After that you should be able to access your web app by navigating to your Droplet’s IP address in the browser without specifying port 4000.
For more information on reverse_proxy config, you can check the documentation here:
https://caddyserver.com/docs/caddyfile/directives/reverse_proxy
Let me know how it goes!
Best,
Bobby