For now, since we are not on an encrypted server, we will only allow the Nginx HTTP profile that will allow traffic on port 80. Begin by enabling the firewall on Ubuntu 20.04. ![]() Nginx HTTPS – Opens only port 443 (For SSL / TLS encryption).ĥ.Nginx HTTP – This open only port 80 ( For unencrypted web traffic).Nginx Full – This opens both port 80 & 443 (For SSL / TLS encryption).There are 3 Nginx profiles associated with ufw firewall. If you are running the UFW firewall, you need to allow the Nginx application profile. Now that you have Nginx installed and running as expected, a few adjustments are required for Nginx to be accessed via a web browser. ![]() The output indicates that we are running Nginx 1.17.10 which is the latest version at the time of penning down this article. To check the version of Nginx, run: $ sudo dpkg -l nginx The output above clearly indicates that Nginx is running.Ĥ. With Nginx successfully installed, you can start and verify it by running: $ sudo systemctl start nginx The installation will be done in just a few seconds.ģ. ![]() When prompted to continue, press 'Y' on the keyboard and hit ENTER. Then install Nginx by running the command: $ sudo apt install nginx
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |