You have to install ssl, it will be automatically added in your nginx file. I have a article on my medium page about how to integrate ssl. You can find it there.
@@CodeWithMuh Great way with nginx. I manage with aws certificate and load balancer and worked as well and free 🙏 I'll check your article as well! Thaaanks! =D
Another thing, i can't change the path about dist folder with scp command, if i have the .pem file on my Downloads folder, and the dist folder is something like this when i copy the path: \Users\myuser\Documentos\GitHub\MyProject\dist\project how should be the command? i don't understand well the parameters -i and -r Thanks!!
scp -i \Users\myuser\yourpemfile.pem -r \Users\myuser\Documentos\GitHub\MyProject\dist\project\* @:~/ Note: 1. Your files will be saved in the root directory of the instance. 2. Also one thing For users, we use a forward slash(/), maybe for windows users it will be a backward slash(\) 3. Don't forget to put '*' after the build path. 4. Follow youtube video. Sample Path: scp -r -i desktop/desktop/testall/staging_.pem ./path/to/files/ @:/pathwhere/you/need/to/copy