This is the default example configuration of nginx provided by nginx. This config file was generated by nginx running on Debian 11.
It is located under: /etc/ufw/applications.d/nginx
[Nginx HTTP]
title=Web Server (Nginx, HTTP)
description=Small, but very powerful and efficient web server
ports=80/tcp
[Nginx HTTPS]
title=Web Server (Nginx, HTTPS)
description=Small, but very powerful and efficient web server
ports=443/tcp
[Nginx Full]
title=Web Server (Nginx, HTTP + HTTPS)
description=Small, but very powerful and efficient web server
ports=80,443/tcp
Download the raw file with wget or curl
wget -O nginx.example http://exampleconfig.com/static/raw/nginx/debian11/etc/ufw/applications.d/nginx
curl http://exampleconfig.com/static/raw/nginx/debian11/etc/ufw/applications.d/nginx > nginx.example
Other config files you might find useful