Adding Host header to curl to make Nginx routing to work properly while testing

Views: 289   

Following command shows you how to add Host header while using it in curl. This way you can make the Nginx to send right data while using with curl and directly hitting the IP Address.

curl --verbose --header 'Host:' ''
On By