Build and configure nginx on Raspberry Pi Ubuntu Bionic arm64

Download latest stable nginx

 wget http://nginx.org/download/nginx-1.18.0.tar.gz

Unpack, install pre-requisites and configure

 tar -xzf nginx-1.18.0.tar.gz
 cd cd nginx-1.18.0
 sudo apt install libpcre++-dev zlib1g-dev libssl-dev
 ./configure --prefix=/opt/nginx-1.18.0 --with-http_ssl_module
 make
 sudo make install
 sudo ln -s /opt/nginx-1.18.0 /opt/nginx
 sudo vi /opt/nginx/conf/nginx.conf
 server_name beruta.creatica.local
 cp ~/favicon.ico /opt/nginx/html
 vi /lib/systemd/system/nginx.service
 [Unit]
 Description=nginx web server
 Wants=network.target
 After=network.target nss-lookup.target
 [Service]
 Type=forking
 PrivateTmp=true
 ExecStart=/opt/nginx/sbin/nginx
 ExecStop=/opt/nginx/sbin/nginx -s quit
 ExecReload=/opt/nginx/sbin/nginx -s reload
 Restart=on-failure
 [Install]
 WantedBy=multi-user.target
 sudo systemctl enable nginx
 sudo systemctl start nginx