...
Having an SSL certificate ensures a secured connection between users and the server, and that no data is compromised while it is traveling over the internet. This allows users to connect using HTTPS protocol over the port 443.
Before starting this guide, it is required that the server has nginx installed. To install nginx run the following commands:
Code Block |
---|
sudo apt update
sudo apt install nginx |
This guide assumes the server already has a domain and the necessary DNS record/s have been created.
...
Remember that after any modification to a nginx configuration file, its is required to restart the service.
Code Block |
---|
systemctl restart nginx |
Docker Configuration
...
create Docker network so containers can see eachother
docker network create my-network
docker network connect my-network container1
docker network ls