nginx nginx configuration example for Debian GNU/Linux 9 (stretch)

Get the default configuration file nginx for nginx, optimized for Debian GNU/Linux 9 (stretch). This example configuration ensures optimal compatibility and performance for nginx, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/ufw/applications.d/nginx.

For more configurations and setup guides, visit our related files section to further customize your system.

    [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

    
  

Config Details

Location
/etc/ufw/applications.d/nginx
Operating system
Debian GNU/Linux 9 (stretch)
Length
14 lines
MD5 checksum
3e24def79cf627acc2ab1b1bdfbc645c

Usage

Download the raw file with wget or curl

Wget

wget -O nginx.example https://exampleconfig.com/static/raw/nginx/debian9/etc/ufw/applications.d/nginx

cURL

curl https://exampleconfig.com/static/raw/nginx/debian9/etc/ufw/applications.d/nginx > nginx.example