now how to make my computer work as web server ?
What is Nginx ?
NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability. In addition to its HTTP server capabilities, NGINX can also function as a proxy server for email (IMAP, POP3, and SMTP) and a reverse proxy and load balancer for HTTP, TCP, and UDP servers. (ref)
How to install nginx on ubuntu ?
open your terminal and write down the commands bellow
sudo apt-get update
sudo apt install nginx
after install it , you can check it by open "localhost" on your browser , and if it open the page on the image above that means it installed successfully
Create your website with nginx
Default page is placed in /var/www/html/
location. You can place your static pages here, or use virtual host and place it other location
No comments:
Post a Comment