If ‘apt update’ on Ubuntu 18.04 throws an error N: Skipping acquire of configured file ‘nginx/binary-i386/Packages’ as repository ‘http://nginx.org/packages/ubuntu bionic InRelease’ doesn’t support architecture ‘i386’, then replace the one line of text in /etc/apt/sources.list.d/nginx.list with this line instead.
deb [arch=amd64] http://nginx.org/packages/mainline/ubuntu/ bionic nginx