Install Nginx on OpenBSD 7.5
Step 1 – Install
pkg_add nginx
Step 2 – Enable
rcctl enable nginx
rcctl start nginx
Step 3 – PF firewall
Add to /etc/pf.conf:
pass in on egress proto tcp to port { 80 443 }
pfctl -f /etc/pf.conf
Step 4 – Verify
nginx -v
ftp -o - http://localhost
Config: /etc/nginx/nginx.conf.