Nginx
Nginx is a powerful and widely-used open-source web server. It's the main concurrent of Apache. It's an event-based web server known to be faster and more powerful than Apache.
π» To-do π»
Stuff that I found, but never read/used yet.
-
/etc/nginx/nginx.conf
: configuration file -
/var/log/nginx/
: logs - lemp
$ # server { listen, location {root, dav_methods PUT} }
$ sudo ln -s /etc/nginx/sites-available/xxx.conf /etc/nginx/sites-enabled/
$ sudo rm /etc/nginx/sites-enabled/default # default conf
$ sudo nginx -t
$ sudo systemctl restart nginx.service