/etc/nginx/conf.d/ssl.conf - CentOS Linux 6

This is the default example config of /etc/nginx/conf.d/ssl.conf provided by nginx. This config file was generated on CentOS 6.


    #
# HTTPS server configuration
#

#server {
#    listen       443 ssl http2 default_server;
#    listen       [::]:443 ssl;
#    server_name  _;
#    root         /usr/share/nginx/html;
#
#    ssl_certificate cert.pem;
#    ssl_certificate_key cert.key;
#    ssl_session_cache shared:SSL:1m;
#    ssl_session_timeout  10m;
#    ssl_ciphers HIGH:!aNULL:!MD5;
#    ssl_prefer_server_ciphers on;
#
#    # Load configuration files for the default server block.
#    include /etc/nginx/default.d/*.conf;
#
#    location / {
#    }
#
#    error_page 404 /404.html;
#        location = /40x.html {
#    }
#
#    error_page 500 502 503 504 /50x.html;
#        location = /50x.html {
#    }
#}


    
  

Config Details

Location
/etc/nginx/conf.d/ssl.conf
Operating system
CentOS Linux 6
Length
32 lines
MD5 checksum
78035d6e281cb32e85a3d4e89fbd88bb

Usage

Download the raw file with wget or curl

Wget

wget -O ssl.conf.example http://exampleconfig.com/static/raw/nginx/centos6/etc/nginx/conf.d/ssl.conf

cURL

curl http://exampleconfig.com/static/raw/nginx/centos6/etc/nginx/conf.d/ssl.conf > ssl.conf.example