Install Nginx on Arch Linux
Step 1 – Update
pacman -Syu --noconfirm
Step 2 – Install
pacman -S --noconfirm nginx
Step 3 – Enable and start
systemctl enable --now nginx
Step 4 – Firewall
ufw allow 80/tcp && ufw allow 443/tcp && ufw reload
Step 5 – Verify
nginx -v && curl -I http://localhost