Skip to content

Instantly share code, notes, and snippets.

@theMiddleBlue
Created August 9, 2017 20:28
Show Gist options
  • Save theMiddleBlue/73a0a9843b7cf8d5a165bb2803e83f4b to your computer and use it in GitHub Desktop.
Save theMiddleBlue/73a0a9843b7cf8d5a165bb2803e83f4b to your computer and use it in GitHub Desktop.
cloudflare forward ok
theMiddlePro:~ root# curl -v --resolve corriere.it:80:104.27.143.145 'http://corriere.it/'
* Added corriere.it:80:104.27.143.145 to DNS cache
* Hostname corriere.it was found in DNS cache
*   Trying 104.27.143.145...
* TCP_NODELAY set
* Connected to corriere.it (104.27.143.145) port 80 (#0)
> GET / HTTP/1.1
> Host: corriere.it
> User-Agent: curl/7.54.0
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Date: Wed, 09 Aug 2017 20:27:27 GMT
< Content-Type: text/html; charset=iso-8859-1
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __cfduid=d33911007b88e431d6491373b3f146e4e1502310447; expires=Thu, 09-Aug-18 20:27:27 GMT; path=/; domain=.corriere.it; HttpOnly
< Location: http://www.corriere.it/
< Server: cloudflare-nginx
< CF-RAY: 38bd74c675383d95-MXP
< 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.corriere.it/">here</a>.</p>
</body></html>
* Connection #0 to host corriere.it left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment