mirror of
https://github.com/inspec/inspec
synced 2024-12-30 06:53:22 +00:00
80c595ba3d
This fixes `nginx_conf.params` when: - Given an empty file - Given a file with only comments - Given a file that has an include for a file that: - Is empty - Has all lines commented out This also fixes a test where a missing file is actually empty Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
33 lines
725 B
Text
33 lines
725 B
Text
# This file is empty save for comments
|
|
|
|
#
|
|
# 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 {
|
|
# }
|
|
#}
|