nginx配置 http+https服務

先執行brew install nginx安裝 nginx 然後到nginx conf.d 目錄裡,增加兩個 *.conf 文件 默認是 /etc/nginx/conf.d/ 文件夾內 # here is yourdomain.conf server { listen 80; server_name »