Skip to content

Instantly share code, notes, and snippets.

@shadyvb
Created July 7, 2019 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shadyvb/d69fa33bd3e38eac9b32bbf0735cb0ad to your computer and use it in GitHub Desktop.
Save shadyvb/d69fa33bd3e38eac9b32bbf0735cb0ad to your computer and use it in GitHub Desktop.
Argo host name forward issue
array(37) {
["DOCUMENT_ROOT"]=>
string(17) "/private/tmp/test"
["REMOTE_ADDR"]=>
string(3) "::1"
["REMOTE_PORT"]=>
string(5) "59310"
["SERVER_SOFTWARE"]=>
string(29) "PHP 7.1.23 Development Server"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["SERVER_NAME"]=>
string(9) "localhost"
["SERVER_PORT"]=>
string(2) "80"
["REQUEST_URI"]=>
string(1) "/"
["REQUEST_METHOD"]=>
string(3) "GET"
["SCRIPT_NAME"]=>
string(10) "/index.php"
["SCRIPT_FILENAME"]=>
string(27) "/private/tmp/test/index.php"
["PHP_SELF"]=>
string(10) "/index.php"
["HTTP_HOST"]=>
string(46) "comp-logo-developing-extreme.trycloudflare.com"
["HTTP_USER_AGENT"]=>
string(119) "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3833.0 Safari/537.36"
["HTTP_ACCEPT"]=>
string(118) "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3"
["HTTP_ACCEPT_ENCODING"]=>
string(4) "gzip"
["HTTP_ACCEPT_LANGUAGE"]=>
string(14) "en-US,en;q=0.9"
["HTTP_CACHE_CONTROL"]=>
string(9) "max-age=0"
["HTTP_CDN_LOOP"]=>
string(10) "cloudflare"
["HTTP_CF_CONNECTING_IP"]=>
string(13) "156.196.65.59"
["HTTP_CF_IPCOUNTRY"]=>
string(2) "EG"
["HTTP_CF_RAY"]=>
string(20) "4f25c4804cf14153-CAI"
["HTTP_CF_VISITOR"]=>
string(18) "{"scheme":"https"}"
["HTTP_CF_WARP_TAG_ID"]=>
string(36) "fc62d557-31f7-4497-b97c-9344c5f3cd5e"
["HTTP_CONNECTION"]=>
string(10) "keep-alive"
["HTTP_COOKIE"]=>
string(52) "__cfduid=df49601700ce5acd045ff7ce236cd57831561215061"
["HTTP_DNT"]=>
string(1) "1"
["HTTP_SEC_FETCH_MODE"]=>
string(8) "navigate"
["HTTP_SEC_FETCH_SITE"]=>
string(4) "none"
["HTTP_SEC_FETCH_USER"]=>
string(2) "?1"
["HTTP_UPGRADE_INSECURE_REQUESTS"]=>
string(1) "1"
["HTTP_X_FORWARDED_FOR"]=>
string(13) "156.196.65.59"
["HTTP_X_FORWARDED_PROTO"]=>
string(5) "https"
["REQUEST_TIME_FLOAT"]=>
float(1562460032.2862)
["REQUEST_TIME"]=>
int(1562460032)
["argv"]=>
array(0) {
}
["argc"]=>
int(0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment