Configuring the firewall

To complete our NGINX setup, configure the firewall to ensure traffic can reach port 80:

jenkins@ci:$ sudo ufw allow OpenSSHjenkins@ci:$ sudo ufw allow 80/tcpjenkins@ci:$ sudo ufw enable

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.