Skip to content

Instantly share code, notes, and snippets.

@hail2u
Last active August 29, 2015 14:08
Show Gist options
  • Save hail2u/56f22fc1815c7d835871 to your computer and use it in GitHub Desktop.
Save hail2u/56f22fc1815c7d835871 to your computer and use it in GitHub Desktop.
wwwなしドメインだと302 Foundになるのを200 OKに修正する
Kyo ~ $ curl -I http://hail2u.net/
HTTP/1.1 302 Found
Connection: close
Pragma: no-cache
cache-control: no-cache
Location: /
Kyo ~ $ curl -I http://hail2u.net/
HTTP/1.1 200 OK
Date: Wed, 29 Oct 2014 00:45:24 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: __cfduid=d46638dbbc366853d62b761f8752d50171414543523765; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; doma
in=.hail2u.net; HttpOnly
Last-Modified: Tue, 28 Oct 2014 23:28:07 GMT
Expires: Wed, 29 Oct 2014 00:55:23 GMT
Cache-Control: max-age=600
Via: 1.1 varnish
Age: 0
X-Served-By: cache-hk90-HKG
X-Cache: MISS
X-Cache-Hits: 0
X-Timer: S1414543523.817421,VS0,VE230
Vary: Accept-Encoding
Server: cloudflare-nginx
CF-RAY: 180b599f8096124f-HKG
@hail2u
Copy link
Author

hail2u commented Oct 29, 2014

CloudFlare使っただけだけどうまくいってそう
メールが怖いので様子見

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment