nginx snakeoil.conf configuration example for Ubuntu 16.04 LTS (Xenial Xerus)

Get the default configuration file snakeoil.conf for nginx, optimized for Ubuntu 16.04 LTS (Xenial Xerus). 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/nginx/snippets/snakeoil.conf.

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

    # Self signed certificates generated by the ssl-cert package
# Don't use them in a production server!

ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;

    
  

Config Details

Location
/etc/nginx/snippets/snakeoil.conf
Operating system
Ubuntu 16.04 LTS (Xenial Xerus)
Length
5 lines
MD5 checksum
0a8bff8a55d8ec9d002e1b8460d2d64f

Usage

Download the raw file with wget or curl

Wget

wget -O snakeoil.conf.example https://exampleconfig.com/static/raw/nginx/ubuntu16.04/etc/nginx/snippets/snakeoil.conf

cURL

curl https://exampleconfig.com/static/raw/nginx/ubuntu16.04/etc/nginx/snippets/snakeoil.conf > snakeoil.conf.example