In this chapter, we are going to see how to deploy our Go applications using a few tools such as Nohup and Nginx. To make a website visible to the internet, we need to have a Virtual Private Server (VPS) and deployment tools. We will first see how to run a Go executable and make it a background process using Nohup. Next, we will install Nginx and configure it to proxy the Go server.
In this chapter, we will cover the following topics:
- What is an Nginx proxy server?
- Learning Nginx server blocks
- Load balancing strategies in Nginx
- Deploying our Go service using Nginx
- Rate limiting and securing our Nginx proxy server
- Monitoring our Go service using a tool called Supervisord