Hi Expert, I had gone through this guide: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04 and successfully setup the http server. But i have 2 questions.
Can i have 2 listeners: port 80 and 443 in the same file ( /etc/nginx/sites-available/your_domain)
I got my domain and SSL from Namecheap. I had update the NS and the traffic has redirected to DigitalOcean (correct way). But is there anyway to get the SSL from Namecheap and insert into the NGINX server?
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.