Nginx 常用配置

nginx.conf 参数说明

  • $host do NOT have port number: 不包含端口
  • $http_host DO include the port number: 包含端口