You can also modify the nginx configuration file, but it will get overwritten during upgrades, so you will have to perform the changes after each upgrade.
Also if the nginx is listening on all interfaces, you can also modify the firewall rules to disallow connections on unwanted interfaces.