What is nginx ?
Nginx is a web server which can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. The software was created by Igor Sysoev and first publicly released in 2004. A company of the same name was founded in 2011 to provide support and Nginx plus paid software.
How to install nginx ?
open termux app and type following commands.
- $ pkg install nginx
To start nginx web server type:
- $ nginx
Now open your browser and type localhost:8080 it will open the server.
To stop nginx server type:
- $ nginx -s stop
How to configure domain in nginx?
ReplyDeleteKagak bisa lah, bisanya Port Forwarding LOL
DeleteThanks man
ReplyDeleteI was following a very complicated manual setup, thank god I found this page, very simple, thank you!
ReplyDelete