新增配置文件

方法一
#HTTP禁止访问
server {
  listen 80 default_server;
  server_name _;
  return 500;
}
#HTTPS禁止访问
server {
  listen 443 default_server;
  server_name _;
  ssl_certificate ./cert/test.com.pem;
  ssl_certificate_key ./cert/test.com.key;
  return 500;
}
方法二
server {
  listen 80 default_server;
  listen 443 ssl default_server;
  server_name _;
  ssl_certificate ./cert/test.com.pem;
  ssl_certificate_key ./cert/test.com.key;
  return 500;
  error_page 497 https://$host$request_uri;
}