Before I start, I would like to tell you that this method has been tested on the following settings
- Hosting -> linode.com
- Operating system -> Ubuntu 20.04 LTS Disk
- Domain service provider -> godaddy.com
- Node app -> inside a docker container with port 5000:5000
- Mysql database -> inside a docker container with port 3306:3306
- nginx -> inside root not in docker container it's work like apache server
- certbot -> inside root not in docker container with python3