0
正在嘗試運行nginx
上AWS
Ubuntu
一切工作正常,直到我加入server{}
塊,然後重新啓動nginx
失敗後重新啓動。 此代碼上午http
塊中加入:nginx的:服務器無法添加服務器塊
server {
listen 80;
server_name ec2-00-00-00-000.us-west-2.compute.amazonaws.com;
location/{
proxy_pass http://thumbor;
}
}
然後我嘗試使用nginx service nginx restart
重啓和,我得到這個錯誤:
Restarting nginx nginx [fail]
檢查錯誤日誌? –