Installation on Arch Linux
sudo pacman -S nginx installs the server. Enable and start it with sudo systemctl enable --now nginx. The default document root is /usr/share/nginx/html and it listens on port 80.
Configuration
Arch keeps a single /etc/nginx/nginx.conf. To organize multiple sites, add an include /etc/nginx/sites/*.conf; line yourself and create that directory; there is no Debian-style sites-available layout. Validate with nginx -t before sudo systemctl reload nginx.
Stable vs mainline
The nginx package follows the stable branch. For the newest features, install nginx-mainline instead — do not install both at once.