Cloudflare
CloudflareïŒã¯ã©ãŠããã¬ã¢ïŒã® CDNã»ããŒã ãµãŒãã»SSL/TLSã»WAP ãµãŒãã¹ ã«ã€ããŠãŸãšããŠããŸãã
2020幎3æäžæ¬ããããã°ã€ã³åŸã®è¡šç€ºãæ¥æ¬èªè¡šç€ºã«ãªããŸããã
ãã®ããŒãžã§åæ ããŠããŸãããåŸã«è¡šç€ºãå€æŽãããå¯èœæ§ããããŸãã
å³äžãæ¥æ¬èª ããEnglish ãããèšèªã®å€æŽãå¯èœã§ãã
ç®æ¬¡
å ¬åŒã»é¢é£ãµã€ã
 Cloudflare
 Cloudflare System Status
ç¹åŸŽ
Cloudflare ã¯æ¬¡ã®ç¹åŸŽããããŸãã
- ãµã€ãç»é²æ°ã»è»¢ééç¡å¶éã§ç¡æ䜿çšã§ããŸãã
å人ã§ãå®å¿ããŠå°å ¥ã§ããŸãã
ææãã©ã³ã§ã¯ãæŽã«é«éåãæ»æ察çãšããŠäœ¿çšã§ããæ©èœããããŸãã - 衚瀺ããå
容ããã£ãã·ã¥ãã CDN æ©èœãæäŸããŸãã
ããã«ããé«é衚瀺ãå®çŸããŸãã - 衚瀺é«éåã®æé©åãã§ããŸãã
HTTP/2ã»TLS 1.3 ã®æ°æè¡ã§æŽã«é«éåãå®çŸãããŠããŸãã
æŽã«èšå®ã§ HTTP/3 ã Minify ãå¯èœã§ãã - SSL 蚌ææžãèªåé©çšããSSL åãå®çŸããŸãã
Cloudflare çºè¡ã®èšŒææžãæ¡çšããŸãã
ãŸãé ä¿¡å ã®ãµãŒãã«ã¯ Origin 蚌ææžïŒæé· 15 幎ïŒãé©çšããäºãã§ããŸãã
ææãã©ã³ã§ã¯ Cloudflare ã«ä»ç€ŸæäŸã®èšŒææžãé©çšããäºãã§ããŸãã - ããŒã ãµãŒããæäŸããŸãã æ°ããçš®é¡ã«ã察å¿ããŠããŸãã
ãã®ããŒã ãµãŒããã Cloudflare ãé©çšãã察象ã®ãµããã¡ã€ã³ãéžæããŸãã
ææãã©ã³ã§ã¯ãµããã¡ã€ã³ã§å°å ¥ãå¯èœã§ãã - ãã¡ã€ã€ãŠã©ãŒã«ããããŸãã
ç¹å®ã®æ»æããããã¯ãããããã°ãšããŠæ®ããŠããäºãã§ããŸãã - 301ã»302 転éã Cloudflare åŽã§å®çŸã§ããŸãã
é ä¿¡ãµãŒããé察å¿ã§ã Cloudflare åŽã§è¡ããŸãã - API ãæäŸãããŠããŸãã
äŸãã° DNS ã® A ãå€æŽããäºã§ãã€ããã㯠DNS ãå®çŸã§ããŸãã
次ã®å Žå㯠Cloudflare ã®æ©èœã Off ã«ããŠäœ¿çšããŠäžããã
ïŒãã¡ã€ã³ãè¿œå ããŠããŒã ãµãŒã管çã¯å¯èœã§ãïŒ
- IoT æ©åšïŒçµã¿èŸŒã¿é»åæ©åšïŒããåç
§ããå Žå
Cloudflare çµç±ã¯ HTTP/2ã»TLS 1.3 ã Brotilã»gzip å§çž®ãé©çšããããã
ãããã«å¯Ÿå¿ããŠããªãæ©åšã§ã¯åç §ã§ããªããªããŸãã - é©çšãããã¡ã€ã³ã»ãµããã¡ã€ã³ã§ Webã»ã¡ãŒã« 以å€ã«ã䜿çšããŠããå Žå
çŽæ¥åç §ãã IP ã¢ãã¬ã¹ã Cloudflare ãµãŒãã«ãªãããã
ä»ã®ãµãŒãã¹ã䜿çšããŠããå Žå㯠Cloudflare ãæå¹ã«ãããšåç §ã§ããªããªããŸãã
ã¡ãŒã«ïŒSMTPïŒã¯ MX ã§èšå®ããããã察象å€ãšãªããŸãã
FTP ã®æ¥ç¶å ã¯å²ãåœãŠãã¡ã€ã³å€ã®ãã¹ãåã»IP ã¢ãã¬ã¹ã§æ¥ç¶ãããã
ftp.ãã¡ã€ã³å 㧠Cloudflare ãç¡å¹ãã IP ã¢ãã¬ã¹ãèšå®ããããã§æ¥ç¶ããŸãã
ããã§ã¯ç¡æãã©ã³ã䜿çšããåæã§èª¬æãè¡ã£ãŠããŸãã
2 èŠçŽ èªèšŒ
2 èŠçŽ èªèšŒïŒTwo-Factor AuthenticationïŒãèšå®ã§ããŸãã
ã¢ããªãšã㊠Google èªèšŒã·ã¹ãã ïŒGoogle AuthenticatorïŒãªã©ã䜿ããŸãã
 Google èªèšŒã·ã¹ãã | Google Play
ãµã€ãã®ç»é²
ç¡æãã©ã³ã§ã¯åºæ¬çã«ãã¡ã€ã³æ¯ã§ãµã€ãç»é²ãå¿
èŠã§ãã
ææãã©ã³ã§ã¯ãµããã¡ã€ã³ã§ãç»é²ãã§ããŸãã
å³å¯ã«ã¯ Public Suffix List ç»é²ã®ãã¡ã€ã³ã»ãµããã¡ã€ã³ãšãªããŸãã
ãã®ãããäžè¬åãã«å
¬éãããŠãããµããã¡ã€ã³ã§ãç»é²ã§ããå ŽåããããŸãã
Public Suffix List ã«ã€ããŠã¯æ¬¡ãåç
§ããŠäžããã
 Public Suffix List
 publicsuffix/list | GitHub
ð Public Suffix List | ãµãããð FU-SEN
ç¹ã«ãã¡ã€ã³ãç»é²ãããŠã®å Žåããã¡ã€ã³æ¥è
ã«ãã仮衚瀺ã衚瀺ããããã
ð dig
ã nslookup
㧠IP ã¢ãã¬ã¹ãè¿ã£ãŠããã®ã確èªããŠãã
Cloudflare ã§ãµã€ãç»é²ãé²ããŠäžããã
å³äžã®  ãµã€ããè¿œå /  Add Site ãéžæããŸãã
ç¬èªãã¡ã€ã³ãç»é²ããŸãã
äŸãã°example.net
ãç»é²ããå Žåãexample.net
ããã³www.example.net
ã®
A ã¬ã³ãŒããååšããŠããïŒã©ãããµãŒããåç §ããŠããïŒç¶æ ã«ããå¿ èŠããããŸãã
ãã®æããã¡ã€ã³åãèªèããªãå Žåã¯ããã¡ã€ã³åãããŒã ãµãŒãã®ç¶æ ã確èªããŠäžããã
Hurricane Electric Free DNSïŒdns.he.netïŒã¯å€±æããã±ãŒã¹ãããã®ã確èªããŠããŸãã
åç §ãã§ããªãç¶æ ã§ãçæéã§äœåºŠãç»é²ãè©Šã¿ããšã
Cloudflare ã¯ãµã€ãç»é²ãäžå®æéæåŠããããã«ãªã£ãŠããŸããŸãããã©ã³ã®éžæã«ãªããŸããFree $0/æ / FREE $0/month ãéžæããŠäžããã
2022幎10æçŸåšãFree $0 ã®è¡šç€ºã¯äžã«ã¹ã¯ããŒã«ãããšéžæè¢ããããŸããçŸåšç»é²ãããŠããããŒã ãµãŒããããŸãŒã³ãåŸãŸãã
確èªã®äžãç°ãªã£ãŠãããŸãŒã³ã¯å€æŽããŠäžããã
ããã§é ä¿¡ãµãŒããå€æŽããäºãã§ããŸãããã¡ã€ã³ã®ããŒã ãµãŒããå€æŽãããã衚瀺ãããŸãã
ãã¡ã€ã³ç»é²ãµãŒãã¹ãžãã°ã€ã³ããããŒã ãµãŒããå€æŽããŠäžãããæ°åïœæ°æé㧠Cloudflare ãå€æŽã確èªããæå¹åããŸãã
æå¹ã«ãªã£ãå Žåã¯ã¡ãŒã«ãå±ããŸãã
ãã¡ã€ã³ã移管ã Cloudflare ã§ç®¡çãã
 Cloudflare Registrar | Cloudflare
Cloudflare ã«ç»é²ããŠãããã¡ã€ã³ã®äžéšã¯
Cloudflare ã«ãã¡ã€ã³ã移管ïŒtransferïŒããŠãã¡ã€ã³ãå«ããŠç®¡çããäºãã§ããŸãã
察å¿ããŠãããã¡ã€ã³ã®çš®é¡ã¯æ¬¡ã«æ²èŒãããŠããŸãã
- Cloudflare åŽã§ã®è¿œå æéãªããåäŸ¡äŸ¡æ Œã®ã¿ã®æ¯æãã§ãã
2021幎5æçŸåš .com $8.03ã».net $9.95ã».org $10.11ã».info $11.02 ã§ãã - WHOIS ã®å矩代è¡ã«ãç¡æã§å¯Ÿå¿ããŸããåœã»éœéåºçã®ã¿è¡šç€ºãããŸãã
- èªåæŽæ°ã»æåæŽæ°ã«å¯Ÿå¿ããŸããç»é²ããã«ãŒããŸã㯠PayPal ã«è«æ±ãããŸãã
- Cloudflare ã®ãµã€ãç»é²ãè¡ã£ãäžã§ã®äœ¿çšãåæãšãªããŸãã
ãã¡ã€ã³ç®¡çã®ã¿ã§ã®äœ¿çšã¯ã§ããªããããä»ãµãŒãã¹ã䜿çšããå Žåã¯
ããã«äŒŽãå¶éãåããå ŽåããããŸããïŒããŒã ãµãŒããµãŒãã¹ãªã©ïŒ
Cloudflare ã CDN ãšããŠäœ¿çšãã
 Cloudflareã®CDNã«ã€ããŠç解ãã | Cloudflare
ãµã€ããç»é²ããDNS 㧠 ããªã¬ã³ãžã«ãã Proxied ç¶æ
ã«ããã°
åºæ¬çã«ãã®ãã¡ã€ã³ã§ã®åç
§ã¯ CDN ãæå¹ã«ãªããŸãã
ãŸããã®ç¶æ
ã§ã¯ç¹å®ã®èªèãããŠããæ»æã«å¯Ÿã㊠Cloudflare åŽã§ãããã¯ããŸãã
ãã®ãããé
ä¿¡ãµãŒããžã®åç
§ã¯å€§å¹
ã«æžããŸãã
ãã£ãã·ã¥ãæå¹ãªæ¡åŒµå
Cloudflare ã®ãã£ãã·ã¥å¯Ÿè±¡ã¯æ¡åŒµåã§éžå®ããã次ã®æ¡åŒµåã察象ã§ãã
éåžžå€æŽãå
¥ããªãéçãã¡ã€ã«ã察象ã§ã
.html .htm ããã³ sitemap.xml ãå«ã .xml ã¯æŽæ°ãå
¥ãã®ã§å¯Ÿè±¡å€ã§ãã
äžæ¹ .cssã.js ã robots.txt ã¯å¯Ÿè±¡ãšãªã£ãŠããã®ã§ããã¡ã€ã«ãæŽæ°ããå Žåã¯æ³šæãèŠããŸãã
ãã¹ãŠã®ãã¡ã€ã«ããã£ãã·ã¥ã®å¯Ÿå¿ã«ãããå Žåã
ããŒãž ã«ãŒã« 㧠Cache Everything ãèšå®ããŸãã
- ãã¡ã€ã³å/*
- ãã£ãã·ã¥ã¬ãã«ïŒCache LebelïŒ
Cache Everything
ãã£ãã·ã¥ã®æå¹æé
é
ä¿¡ãµãŒãã®ããã Cache-Control
ããã³ Expires
ã«ãã£ãŠ
ãã£ãã·ã¥æéãå®ããŸããã
ããã©ã«ã㯠HTTP ã¬ã¹ãã³ã¹ã«ãã£ãŠã次ã®ãã£ãã·ã¥æéã§ãã
HTTP ã¬ã·ãã³ã¹ | ãã£ãã·ã¥æé |
---|---|
200ã»206ã»301 | 120 å |
302ã»303 | 20 å |
404ã»410 | 3 å |
403 | 1 å |
 Understanding Origin Cache-Control | Cloudflare
Cloudflare åŽã§ã®åäœã¯ HTTP ãããã® Cache-Control
ã«å¿ããŠããŸãã
ãã®ãããCache-Control
ãå€åãããäºã§ã
Cloudflare ã®ãã£ãã·ã¥åäœãã³ã³ãããŒã«ããäºãã§ããŸãã
äŸãã° no-cache
ã®ä»å ã§ããã£ãã·ã¥ããã€ã€ã
åç
§ããã£ãå Žåã¯å€æŽããŠãããæ€èšŒããäºãã§ããŸãã
ãŸããCloudflare ã®ããŒãžã«ãŒã«ã§ããšããž ãã£ãã·ã¥ TTLããèšå®ãããš
æ€èšŒããã«ãã£ãã·ã¥ãé
ä¿¡ã§ããŸãã
- ãã¡ã€ã³å/*
- ãšããž ãã£ãã·ã¥ TTLïŒEdge Cache TTLïŒ
2æé ïœ 1ã¶æïŒ2 hours - a monthããã£ãã·ã¥ã®æå¹æéïŒ
Cloudflare ã®ãã£ãã·ã¥ãæå¹ãªå Žåã
 CachingïŒãã£ãã·ã¥é¢é£ïŒ ã«ãã
ããã©ãŠã¶ ãã£ãã·ã¥ / TTL Browser Cache TTLããäžæžããããŸãã®ã§ã
ãã¡ããèšå®ããŠäžãããé
ä¿¡ãµãŒãåŽã§ããããå¯å€ããããã
ããŒãžã«ãŒã«ã Cloudflare Workers ã§çŽ°ããèšå®ããäºãå¯èœã§ãã
ãã£ãã·ã¥ã®æå¹
HTTP ããã CF-Cache-Status
㧠Cloudflare ã®ãã£ãã·ã¥åäœã確èªã§ããŸãã
CF-Cache-Status | åºå | Cloudflare ãµãŒãã®åäœ |
---|---|---|
HIT | ãã£ãã·ã¥ | ãã£ãã·ã¥ãã |
MISS | é ä¿¡ãµãŒã | ãã£ãã·ã¥ãªã |
EXPIRED | é ä¿¡ãµãŒã | ãã£ãã·ã¥æéåã |
STALE | ãªã | ãã£ãã·ã¥æéåããé ä¿¡ãµãŒãããååŸäžå¯ |
BYPASS | é ä¿¡ãµãŒã | é ä¿¡ãµãŒãã®ãããã§ãã£ãã·ã¥å¯Ÿè±¡å€ |
REVALIDATED | ãã£ãã·ã¥ | é ä¿¡ãµãŒããžæ€èšŒãæŽæ°ãªã |
UPDATING | é ä¿¡ãµãŒã | é ä¿¡ãµãŒããžæ€èšŒãæŽæ°ãã |
DYNAMIC | é ä¿¡ãµãŒã | Cloudflare ã®èšå®ã§ãã£ãã·ã¥å¯Ÿè±¡å€ |
ã¬ã¹ãã³ã¹ãã¯ãããªãçæ³çãªç¶æ
㯠HIT
ã§ãããREVALIDATED
ã¯é
ä¿¡ãµãŒããæŽæ°ãããŠãããæ€èšŒãããã
ããããèšå®ãããŠããå¯èœæ§ããããŸãã
DYNAMIC
ã¯ããã©ã«ãã§ãã£ãã·ã¥ã®å¯Ÿè±¡å€ã«ãªã£ãŠãã
.html ã sitemap.xml ãªã©ã§çºçããŸãã
ããããäžã¯ãã°ã€ã³åŸã«ãã¡ã€ã³ãéžæããæã®ã¡ãã¥ãŒå¥ã§ãã
ç¡æãã©ã³ã§å®å šç¡æãªé ç®ã ã觊ããŠããŸããææãã©ã³ã»èª²é察象ã¯å€ããŠããŸãã
æŠèŠ / Overview
åæç¶æ ã§ã¯ 24 æéã®åç §ãšãã£ãã·ã¥ç¶æ³ã衚瀺ãããŠããŸãã
AnalyticsïŒã¢ã¯ã»ã¹æ å ±ãšãã£ãã·ã¥ç¶æ³ïŒ
æŠèŠ / Overvirew ãã詳现ãªç¶æ³ãåç §ã§ããŸãã
2020幎12æãã  Cloudflare Web Analytics ã䜿çšã§ããããã«ãªã£ãŠããŸãã
ãã詳现ãªæ
å ±ãåŸãããããã«ãªããŸããã
DNSïŒããŒã ãµãŒãã®ãŸãŒã³èšå®ïŒ
Cloudflare ç»é²åŸã¯ãã® DNS ç»é¢ããããŒã ãµãŒãã®ãŸãŒã³èšå®ãè¡ããŸãã
Page Rules ã§å®å
šã«ä»ã®ãã¡ã€ã³ãžè»¢éããå Žåã§ãã
察象ã®ãµããã¡ã€ã³ã»ãµããã¡ã€ã³ã®ãªããã¡ã€ã³ã«ã¯
äœã ãã®ãµãŒãã¯ä»®ã«èšå®ããŠããå¿
èŠããããŸãã
ãã䜿ã£ãŠãããµãŒãã®ä»®èšå®ãªã©ã§å€§äžå€«ã§ãã
ïŒãµãŒãåŽã¯ãã¡ã€ã³ãè¿œå ããå¿
èŠãããŸããïŒ
- ã¿ã€ã / Type - Aã»AAAAã»CNAME ãªã©ã
- åå / Name - ãµããã¡ã€ã³ãå
¥ããŸãã
ãµããã¡ã€ã³ãªãã¯@
ã«ããŸããäžèŠ§ã§ã¯ãã¡ã€ã³åããã«è¡šç€ºã«ãªããŸãã - ã³ã³ãã³ã / Content - å€ãåç §å ã® IP ã¢ãã¬ã¹ããã¹ãã»ãã¡ã€ã³åãªã©ã§ãã
- TTL - DNS only ã®å Žåã«èšå®ã§ããŸããProxied 㯠Auto ã«ãªããŸãã
DNS Only ã«ããæã«èšå®ã§ãã TTL ã®æå°ã¯ 2 åã§ããé垞㯠Auto ã«ããŸãã - ãããã· ã¹ããŒã¿ã¹ / Proxy status Aã»AAAAã»CNAME ã®æã« Â ã衚瀺ãããŸãã
 ããªã¬ã³ãžã«ãã Proxied 㧠Cloudflare ã®åæ©èœãæå¹ã«ãªãã
Cloudflare ã®ãµãŒããèšå®ããŠããé ä¿¡ãµãŒãã«ä»£ãã£ãŠè¿çããäºã«ãªããŸãã
 ãã°ã¬ãŒã® DNS only ã ãšããŒã ãµãŒãæ©èœã ãã§ãã
ä»ã®ããŒã ãµãŒããšç°ãªã Cloudflare ç¬ç¹ã®èšå®ãšããŠã@
ïŒãµããã¡ã€ã³ãªãïŒã«å¯Ÿã㊠CNAME ãæå®ããäºãã§ããŸãã
ä»ã®ããŒã ãµãŒãã§ã¯ ANAME ã ALIAS ã§æäŸãããŠããäºããããŸãã
ã¡ãŒã« ã»ãã¥ãªãã£
2021幎9æãã ã¡ãŒã« ã»ãã¥ãªã㣠ãè¿œå ãããŠããŸãã
SPFã»DMARCã»DKIM ã®èšå®ãå¯èœã§ãã
ãŸããã®ãã¡ã€ã³ã§ã¡ãŒã«ã䜿çšããŠããªãå Žåã®èšå®è¿œå ãå¯èœã§ãã
Email / ã¡ãŒã«ã¢ãã¬ã¹
2021幎9æããããŒã¿çãšããŠæäŸãéå§ããŸããã
çŸåšé 次ã¢ã«ãŠã³ãã«é
ç®ãè¿œå ãããŠããŸãã
ãããã転éã¡ãŒã«ã¢ãã¬ã¹ãèšå®ã§ããŸããå¶éãªãããã€ãäœæã§ããŸãã
ããã«ãããç¹å®ã®ãµãŒãã¹ã«éå®ããå°çšã®ã¡ãŒã«ã¢ãã¬ã¹ãèšå®ãã
ã¡ã€ã³ã§äœ¿çšããŠããã¡ãŒã«ã¢ãã¬ã¹ã¯å
¬éããªãããã«ã§ããŸãã
該åœãããã¡ã€ã³ã転éã¡ãŒã«ã®ã¿ã§ååã§ããã°ã
ä»ã®ã¡ãŒã«ãµãŒãã¹ã䜿çšããäºãªãCloudflare ã§å®çµã§ããããã«ãªããŸããã
çŸåšã®ãšãããã¡ãŒã«éä¿¡ãšã¡ãŒã«ã¢ã«ãŠã³ããã®ãã®ã¯é察å¿ã§ãã
å¿
èŠãªå Žåã¯ä»ã®ãµãŒãã¹ã䜿çšããŸãã
SSL/TLS
SSL é¢é£ã®èšå®ã§ããTLS 㯠SSL ã®å®è³ªçãªåŸç¶ãšãªã£ãŠãããããã³ã«ã®å称ã§ãã
æŠèŠ / Overview
é ä¿¡ãµãŒãã® SSL ãµãŒã蚌ææžé©çšç¶æ³ã«å¿ããŠéžæããŸãã
- ãªã / Off - ãµãŒãïŒCloudflare é㯠SSL ãªããCloudflareïŒãããé㯠SSL ãªã
SSL ãªãã§åç §ããå¿ èŠãããå Žåã«éžæããŸããéåžžéžæããªãã§ãããã - ãã¬ãã·ãã« / Flexible - ãµãŒãïŒCloudflare é㯠SSL ãªããCloudflareïŒãããé㯠SSL ãã
- ãã« / Full - ãµãŒãïŒCloudflare é㯠SSL ãããCloudflareïŒãããé㯠SSL ãã
ãã®å ŽåããµãŒãã® SSL ãµãŒã蚌ææžã¯è©²åœãã¡ã€ã³ã®èšŒææžã§ãªããŠãæå¹ã§ãã - ãã« (å³å¯) / Full (strict) - ãµãŒãïŒCloudflare éã»CloudflareïŒãããéå
±ã« SSL ãã
ãµãŒãåŽã«ã察象ãã¡ã€ã³ã® SSL ãµãŒã蚌ææžãå°å ¥ãããŠããå¿ èŠããããŸãã
ãã« (å³å¯) ã» Full (strict) ãæãçæ³çãªéžæè¢ã§ããã
æ£ãã蚌ææžãé©çšãããŠããªãå Žåã¯åç
§ã§ããªããªããŸãã
å€ãã®ãµãŒãã¹ã§ Full ãéžæããŠéçšã§ããäºãå€ãã§ãã
ãšããžèšŒææž / Edge Cerficates
- åžžã« HTTPS ãäœ¿çš / Always Use HTTPS -
http:
ã§åç §ãããå Žåãhttps:
ãžè»¢éããŸãã - HTTPS ã®èªåãªã©ã€ã / Automatic HTTPS Rewrites -
http:
ã®èšèŒãhttps:
ãžçœ®ãæããŸãã
é ä¿¡å ãµãŒã / Origin Server
- é
ä¿¡å
蚌ææž / Origin Certificates ãµãŒãïŒCloudflare éã®èšŒææžãçºè¡ããŸãã
2021幎3æçŸåšãé ä¿¡å 蚌ææž / Origin Certificates ã®æé·ã¯ 15 幎ã§ãã
ãã¡ã€ã¢ãŠã©ãŒã« / Firewall
æããã«ç¹å®ããæ»æãåããŠããå Žåã«æåŠããããããã確èªã§ãããããŸãã
éåžžã¯ç¹ã«èšå®äžèŠã§ããæãããªæ»æãããå Žåã«ãã®èšå®ãè¿œå ããŠã¿ãŠäžããã
æŠèŠ / Overview
- ã¢ã¯ãã£ãã㣠ãã° / Activity log - æªããåç §ã»ãããã¯ããåç §ã衚瀺ããŸãã
ãã¡ã€ã¢ãŠã©ãŒã« ã«ãŒã« / Firewall Rules
ç¡æã§ã¯ 5 ã€ãŸã§çæã§ããŸãã
DDoS
äžæ°ã«åç
§ããã£ãå Žåãç¹å®ã®åç
§ããã£ãå Žåãªã©ã
DDoS æ»æãçãããå ŽåãCloudflare ã¯ãããæ€åºãã
CAPTCHAïŒç»åã«è¡šç€ºãããæåãå
¥åïŒãåç
§æåŠãå®æœããŸãã
ãã®èšå®ã調æŽã§ããŸãã2021幎9æããè¿œå ãããŸããã
ããŒã« / Tools
- IP ã¢ã¯ã»ã¹ ã«ãŒã« / IP Access Rules -
IP ã¢ãã¬ã¹ãåœå¥ã«ãããã¯ãªã©ãã§ããŸãã - ãŠãŒã¶ãŒ ãšãŒãžã§ã³ãã®ããã㯠/ User Agent Blocking -
User Agent ã®ç¹å®æ¡ä»¶ã§ãããã¯ã§ããŸãã
SpeedïŒè¡šç€ºé床é¢é£ïŒ
éåžžã¯å€æŽããå¿ èŠãããŸããã
æŠèŠ / Overview
Cloudflare é©çšæã»éé©çšæã®äºæž¬é床ã衚瀺ãããŸãã
æé©å / Optimization
- Auto Minify - äœèšãªç©ºçœãåé€ãé«éåããŸãã
éåžž Minify ã¯æ¹è¡ãåé€ããã®ã§ãããCloudflare ã§ã¯æ¹è¡ã®åé€ã¯ç©ºçœè¡ã®ã¿ã§ãã - Brotli - Brotli å§çž®ãé©çšããŸããBrotli å§çž®é察å¿ã®å Žå㯠gzip å§çž®ãé©çšããŸãã
- Mobile Redirect - ã¢ãã€ã«æ©åšã®åç
§ããã£ãå Žåã«è»¢éããŸãã
çŸåšã¯ã¬ã¹ãã³ã·ããã¶ã€ã³ã«ãªã£ãŠããŠãããããããã¯äœ¿ããªãã§ãããã
CachingïŒãã£ãã·ã¥é¢é£ïŒ
éåžžã¯ããã©ã«ãç¶æ
ã§ããã£ãã·ã¥ãé©çšãããŠããã®ãåãããªãäœã«è¡šç€ºãããŸãã
äœãåé¡ãããå Žåã¯ããã®èšå®ã調æŽããŠã¿ãŠäžããã
- ãã£ãã·ã¥ãããŒãž / Purge Cache - ãã£ãã·ã¥ã®æ¶å»ãè¡ããŸãã
- ãã£ãã·ã¥ ã¬ãã« / Caching Level -
Query stringïŒURL ã® ? 以éã«ã€ããã©ã¡ãŒã¿ïŒã§ã®åºå¥ã§ãã - ãã©ãŠã¶ ãã£ãã·ã¥ / TTL Browser Cache TTL -
ãã©ãŠã¶åŽã§æ®ããã£ãã·ã¥æéãèšå®ããŸãã - Always Online - ãµãŒãããŠã³æã« Cloudflare ãã£ãã·ã¥ãã衚瀺ãããŸãã
- éçºã¢ãŒã / Development Mode - äžæçã«ãã£ãã·ã¥ãç¡å¹åããŸãã
ã¢ã¯ã»ã¹ããšãŠãå€ãå Žåãé ä¿¡ãµãŒããžã¢ã¯ã»ã¹ãéäžããã®ã§ã泚æäžããã
ã«ãŒã« / Rules
2021幎4æãããå€æã«ãŒã« / Transform Rulesããè¿œå ãããããã
ã¡ãã¥ãŒè¡šç€ºã§ã¯ãããŒãž ã«ãŒã« / Rulesããããã«ãŒã« / Rulesããžå€æŽãããŸããã
ããŒãž ã«ãŒã« / Page Rules
ç¹å®ã®åç §ã«å¯ŸããŠãèšå®ãå€æŽããäºãã§ããŸããç¡æã§ã¯ 3 ã€ãŸã§æå®ã§ããŸãã
ãã® Page Rules ãçšã㊠301ã»302 転éãå®çŸã§ããŸããhttps://example.net/
ãã https://example.org/
ãžè»¢éããå ŽåâŠ
example.net/*
â» ããã§ã¯http://
ãŸãã¯https://
äžèŠã§ãã- URL ã®è»¢é / Forwarding URL
301 - æ°žä¹ ãªãã€ã¬ã¯ã / 301 - Permanent Redirect ãŸãã¯
302 - äžæçãªãã€ã¬ã¯ã / 302 - Temporary Redirect https://example.org/$1
ãšèšå®ããŸãã$1
ãçç¥ãããšå¿
ããããããŒãžãžã®è»¢éã«ãªããŸãã
ãŸããCloudflare ãæå¹ã«ããç¶æ
ã§
Let’s Encrypt ãçºè¡ããå ŽåïŒHTTP-01 ãã£ã¬ã³ãžïŒã
Let’s Encrypt ãçæã»ç¢ºèªãããã£ã¬ã¯ããªã ã SSL ãç¡å¹ã«ããŸãã
example.net/.well-known/acme-challenge/*
- SSL
ãªã : Off - HTTPS ã®èªåãªã©ã€ã / Automatic HTTPS Rewrites
Off
åæ§ã« www.example.net/.well-known/acme-challenge/*
ãå¿
èŠã§ãããã
ð Let’s Encrypt | ãµãããð FU-SEN
ãµãŒãïŒCloudflare éã® SSL ãµãŒã蚌ææžãé©çšããå Žåã¯
Let’s Encrypt ã®ä»£ããã« Â Origin Server ã䜿ãäºããæ€èšäžããã
å€æã«ãŒã« / Transform Rules
2021幎4æã«è¿œå ãããæ°æ©èœã§ããç¹å®æ¡ä»¶ã§ URL ã®çœ®ãæããè¡ããŸãã
 Dynamic URL Rewriting at the edge with Cloudflare | The Cloudflare Blog
äŸãã° SEO 察çã§æå³çã«ä»äžããæååãåé€ããæã«äœ¿çšããŸãã
ãã¹ã»ã¯ãšãªãŒã眮ãæããŠåŠçãããããã«ãªããŸãã
ãã¡ã€ã³ã»ãµãŒãåéšåã¯çœ®ãæãã§ããŸãããïŒãããããã¹ãå¥ã§èšå®ããŸãïŒ
ãããã¯ãŒã¯ / Network
- HTTP/3 (QUIC 䜿çš) / HTTP/3 (with QUIC) - HTTP/3ã»QUIC ãé©çšããŸãã
é«éåãšæå·åãæåŸ ã§ããŸãããé察å¿ç°å¢ããããããããã©ã«ã㯠Off ã§ãã - WebSockets - WebSocket æ¥ç¶ãç¡å¹ã«ããå Žå㯠Off ã«ããŸããé垞㯠On ã§æ§ããŸããã
- Pseudo IPv4 - IPv6 æ¥ç¶ã«å¯Ÿãä»®æ³ã® IPv4 ã¢ãã¬ã¹ãä»å ããŸãã
- IP ãžãªãã±ãŒã·ã§ã³ / IP Geolocation - åç §ããŠãã IP ã¢ãã¬ã¹ã«åœã³ãŒããä»å ãããŸãã
- æ倧ã¢ããããŒã ãµã€ãº / Maximum Upload Size -
ãã¡ã€ã«ã¢ããããŒãã®æ倧ãµã€ãºãèšå®ããŸãã
Scrape Shield
- ã¡ãŒã« ã¢ãã¬ã¹æå·å / Email Address Obfuscation -
ã¡ãŒã«ã¢ãã¬ã¹ã bot ãåéãã«ããè¡šèšã«å€æããŸãã - ãµãŒããŒåŽã®é€å€ / Server-side Excludes - æªè©äŸ¡ã®åç §ããåç §ãèŠããªãããŸãã
- Hotlink ã®ä¿è· / Hotlink Protection - å€éšããã®æå³ããªãç»åã®åç §ããªãããŸãã
Cloudflare Web Analytics
 Cloudflare Web Analytics | Cloudflare
2020幎12æãã Web Analytics ãå ãããŸããã
Cloudflare ç»é²ãã¡ã€ã³ã§åç
§ã§ãã  Analytics ããã詳现ãªæ
å ±ãåŸãããŸãã
Google Analytics ãªã©ã®ä»£çšã«ãªããŸããã
Cookie ãåéããªãã貌ãä»ããã³ãŒãã 1 è¡ãªã©ã®ã¡ãªããããããŸãã
ç¡æ䜿çšã®å Žåã§ã 1 è¡ã®ã³ãŒãè¿œå ã§ã¢ã¯ã»ã¹ã®è§£æãã§ããŸãã
ç»é²ãµã€ã㯠Cloudflare ã«ç»é²ããŠãããµã€ãã§ãªããŠã䜿çšã§ããŸãã
2021幎9æçŸåšãWeb Analytics ããç»é²ã§ãããµã€ãã¯
ç¡æãã©ã³ã®å Žå Cloudflare ãµã€ãã«å«ãŸããªããµã€ã㯠10 ãµã€ã ãŸã§ã§ãã
2021幎7æãããCloudflare ã®ãµã€ãã§ç»é²ãããŠãããã¡ã€ã³åã¯
å¶éããªããªããŸãããïŒãã以åã Cloudflare Pages ã¯å¯Ÿè±¡å€ã§ããïŒ
ãµããã¡ã€ã³ã®å Žåã¯ãç»é²ããŠãããµã€ãã®ãã¡ã€ã³ã§å¯Ÿè±¡ã«ãªãã
ãã®å Žåã¯ç¡å¶é察象ã«ãªããŸãããåå¥ã«è¿œå ããå Žåã¯å¯Ÿè±¡å€ã§ãã
Cloudflare ãããã·çµç±ã«ããŠããªã Web ããŒãžã§æå¹ã«ãããå Žåã¯
JS ã¹ããããã衚瀺ããããã <head>
å
ã«å«ããŠäžããã
ç»é²ããŠãããµã€ãã®ãã¡ã€ã³ãçšããŠãµããã¡ã€ã³ãžè¿œå ããå Žåã§ã
äžèŠ§è¡šç€ºå
ã®ããã¹ããã§ãµããã¡ã€ã³ãéžæããŠãã£ã«ã¿ããäºã§ã
ãã®ãµããã¡ã€ã³ã®æ
å ±ã確èªã§ããŸãã
Cloudflare Workers
 Cloudflare Workers
ð Cloudflare Workers | ãµãããð FU-SEN
JavaScript ã§èšèŒãããåçåŠçã
Cloudflare ã®ãšããžãµãŒãããå®è¡ã§ããŸãã
éåžžåçåŠçã¯ç¹å®ã®ãµãŒãã§ããåŠçã§ããªãäºãå€ãã
äžç 200 ã¶æ以äžããã®è¿ãã®ãµãŒãã§å®è¡ãããã¡ãªããã¯å€§ããã§ãã
ð Cloudflare Workers Sites | ãµãããð FU-SEN
æŽã«éçãµã€ããå
¬éã§ãã Workers Sites ãååšããŸãã
é
ä¿¡å
㯠Cloudflare KV ãšãªãã
å¶éã«éããªãéã㯠Cloudflare ã®ãµãŒãã¹ã®ã¿ã§é
ä¿¡ã§ããŸãã
ãã¡ã Workers Sites ã«ã€ããŠå¥ããŒãžã§çŽ¹ä»ããŠããŸãã
Cloudflare Pages
 Cloudflare Pages
ð Cloudflare Pages | ãµãããð FU-SEN
JAMstack ãçšãã Web ãµã€ãã®ãããã€ãå®çŸããŸããGitHub ãšé£æºããŠäœ¿çšããŸãã
ããã Cloudflare ã®ãµãŒãã¹ã®ã¿ã§é
ä¿¡ã§ããæ段ãšãªããŸãã
å¥ããŒãžã§çŽ¹ä»ããŠããŸãã
Q&A
Cloudflare ã¯ã¬ã³ã¿ã«ãµãŒãã§ããïŒ
æè¿ãŸã§ãã®çãã¯ãããããã§ããã
ã³ã³ãã³ãããªããªãããã¯ãŒã¯ïŒé称 CDNïŒã§äžççã«æåã§ãã
CDN ãç¥ããªã人㯠Wikipedia ãªã©ãåç
§ããŠäžããã
Web ãµã€ãã»ããã°ãéçšããŠãã人㯠CDN ãç¥ã£ãŠãããšåŸã«åœ¹ã«ç«ã€ã§ãããã
 ã³ã³ãã³ãããªããªãããã¯ãŒã¯ | Wikipedia
ãããæè¿ç¶æ³ãå€ãã£ãŠããŠã
Cloudflare ã®ãµãŒãããçŽæ¥ Web å
¬éã§ãããµãŒãã¹ãæè¿å
¬éãããŠããã®ã§ã
ã¬ã³ã¿ã«ãµãŒãã®ä»£çšãšã㊠Cloudflare ã®ãµãŒãã¹ãæ€èšã§ããç¶æ³ã«ãªã£ãŠããŠããŸãã
äžã€ã Cloudflare Workers ã®æ©èœ Worker Sites ãçšããæ¹æ³ããããŸãã
ã·ã§ã«ããã³ãã³ããçšããŠå
¬éïŒãããã€ïŒããŸãã
 Cloudflare Workers
ð Cloudflare Workers Sites | ãµãããð FU-SEN
ããäžã€ã Cloudflare Pages ã§ãã
GitHub ãããžã§ã¯ãçµç±ã§å
¬éïŒãããã€ïŒããŸãã
çŸåšã®ãšãã GitHub ãããžã§ã¯ãå¿
é ã§ããã
ãããžã§ã¯ã㯠Private ã§ã䜿çšå¯èœã§ãã
 Cloudflare Pages
ð Cloudflare Pages | ãµãããð FU-SEN
Cloudflare Workers ãš Cloudflare Pages ã® 2 ãµãŒãã¹ã¯çµ±åãæ€èšãããŠããŠã
åŸã«ä»æ§ãå€ããå¯èœæ§ããããŸãã
ãŸãšãã«äœ¿çšããããšããŠããå Žåã¯ä»æ§å€æŽã§åœ±é¿ãåããå¯èœæ§ãããã®ã§ã
ãã®åœ±é¿ãèæ
®ããäžã§äœ¿çšããŠäžããã
Cloudflare CDN ã¯ã©ãã«ããã®ã§ããïŒ
äžç 100 ã¶åœä»¥äžã200 ã¶æ以äžã® CDN ãµãŒããååšããŸãã
æ¥æ¬ã§ã¯æ±äº¬ã»å€§éªã»çŠå²¡ã»é£èŠã«èšçœ®ãããŠããŸãã
 Cloudflareã®ã°ããŒãã«ãªãšããŒãã£ã¹ããããã¯ãŒã¯
ãã®ãããã³ã³ãã³ããµãŒããæµ·å€ã«ããå Žåã§ãã
Cloudflare çµç±ã«ããäºã§é«é衚瀺ãæåŸ
ã§ããŸãã
æ¬åœã«ç¡æã§äœ¿çšã§ããã®ã§ããïŒ
 ãã¡ã€ã³ã移管ã Cloudflare ã§ç®¡çãã
ããŒãžéå¶è
ã¯ããã€ã Cloudflare ã®ãµãŒãã¹ãçšããŠ
å€æ° Web ãµã€ãã»ããã°ãéå¶ããŠããŸããã
ãã¡ã€ã³è²»çšããæ¯æã£ãäºããããŸããã
Cloudflare ãžç»é²ãããšã©ã®äœå¹æãããã®ã§ããïŒ
ããŒãžéå¶è
ãä»äºã§å®äœéšãããã®ãšããŠã
1 æ¥ 70GBïœ200GB ã® WordPress 㧠Cloudflare ãå°å
¥ãããšããã
ãµãŒãåŽãžã®åç
§ã 1 æ¥ 3GBïœ4GB ãšå€§å¹
ã«æžã£ãã®ãçµéšããŠããŸãã
ãã®ãµã€ã balloon.asia ã Cloudflare ã䜿çšããŠããŸããã
ãã®ããŒãžã®ããã«ããŒãžåºæã§è¡šç€ºããç»åããªãããŒãžãå€ãã®ã§ã
ãã£ãã·ã¥çã¯ããã 50% ã«ãšã©ãŸã£ãŠããŸãã
åçŽã«é
ä¿¡ãµãŒããžã®ã¢ã¯ã»ã¹ã¯ããããåæžããŠãããšèããŠè¯ãã§ãããã
å®éã«ã¯ãã£ãã·ã¥ã®èšå®ã«ããé
ä¿¡ãµãŒãã®åç
§ç¶æ
ãå€ãããŸãã
ç¹ã«çæéã§åç
§ãå€ããªã£ãŠãã Web ãµã€ãã»ããã°ã¯
Cloudflare ãçµç±ã㊠CDN ã«ãããã£ãã·ã¥ãæå¹ã«ããäºã§ã
é
ä¿¡ãµãŒãã®è»¢ééãè² è·ãæžãããå¹æãæåŸ
ã§ããŸãã
æ»æãåããŠãããããCloudflare ã«ç»é²ããŸããããå¹ããŠããŸããã
ããŒã ãµãŒãã«ã¯ãã£ãã·ã¥ããããŸãã
Cloudflare ãžç»é²ããŠã 2ïœ3 æ¥äœãŸã§ã¯æ§èšå®ã®ãŸãŸã«ãªã£ãŠããããã
Cloudflare çµç±ã«ãªããªãå ŽåãååšããŸããåæ ãåŸ
ã€ãããããŸããã
èšå®ãããã¡ã€ã³ã Cloudflare ã® CDN çµç±ã«ãªã£ãŠããã確èªããæ¹æ³ã¯ãããŸããïŒ
ãã¡ã€ã³å/cdn-cgi/trace
ãåç
§ãããš Cloudflare CDN çµç±ãã確èªã§ããŸãã
Cloudflare CDN çµç±ã®å Žåã¯æååã衚瀺ãããŸãã
 https://www.cloudflare.com/cdn-cgi/trace
ä»ã«çŸåš SSL ãµãŒã蚌ææžã¯ Cloudflare ãçºè¡ããããã«ãªã£ãŠããããã
https ã§åç
§ã§ããå Žå㯠SSL ãµãŒã蚌ææžã® CA ã確èªããæ¹æ³ããããŸãã
ãã£ãã·ã¥ãããã®ã¯åå°ã®ãµãŒãæ¯ã§ããïŒ
ã¯ããCloudflare ã® CDN ã¯åç
§ããã段éã§
è¿ãã®ãµãŒãã«ãã£ãã·ã¥ããªããã°ãã®ãã¡ã€ã«ããã£ãã·ã¥ãããŸãã
åæ¥æ¬ïœæ±æ¥æ¬ã®äººãåç
§ããŠæ±äº¬ãµãŒãã«ã¯ãã£ãã·ã¥ãããŠããŠãã
西æ¥æ¬ã®äººãåç
§ããŠããªãã®ã§ã倧éªãµãŒãã«ã¯ãã£ãã·ã¥ããªãã
ãšããã±ãŒã¹ãããããŸãã
æ¥æ¬èªã«ããæ¥æ¬åãã®ãµã€ãã§ããã°
ãã¡ããæ±äº¬ã»å€§éªã»çŠå²¡ã»é£èŠã¯ãã£ãã·ã¥çæããããããªããŸããã
ã¢ã¡ãªã«ã® CDN ã§ã¯ç¹ã«ã¯ããŒã©ã®çšŒåãå€ã圱é¿ã§ã
ã©ã®èšèªã§å
¬éãããŠããŠãããã£ãã·ã¥ã®çæãããããããµãŒãã«ãªããŸãã
ã©ã® CDN ãåç §ããŠããã調ã¹ãæ¹æ³ã¯ãããŸããïŒ
次㮠URL ãåç §ããŠäžããã
 https://www.cloudflare.com/cdn-cgi/trace
ãã®ãã¡ã® colo
ã®å€ãåç
§ããŠãã CDN ã®å Žæã«ãªããŸãã
colo ã®å€ | åç § CDN ã®å Žæ |
---|---|
colo=NRT | æ¥æ¬ã»æ±äº¬ |
colo=KIX | æ¥æ¬ã»å€§éª |
å€ã® 3 æ¡ã¯ç©ºæž¯ã®ã³ãŒãã䜿ãããŠããŸããCDN ã§ã¯ããèŠãããŸãã
NRTïŒæç°ç©ºæž¯ãKIXïŒé¢è¥¿åœé空枯 ã§ãã
çŠå²¡ã»é£èŠã¯ãŸã å
¬åŒã«åºãŠããŸãããã
ãããã çŠå²¡=FUKïŒçŠå²¡ç©ºæž¯ïŒ é£èŠ=OKAïŒé£èŠç©ºæž¯ïŒãšäºæž¬ãããŸãã
ãã¡ã€ã³å/cdn-cgi/trace
ã§ç¹å®ã®ãã¡ã€ã³ã察象ã«èª¿æ»ããäºãã§ããŸããã
éåžž www.cloudflare.com
ãšåããã®ãè¿ã£ãŠããã¯ãã§ãã
ãªããCloudflare ã§ã¯éåžžæãè¿ã CDN ãµãŒããçµç±ããŠãã£ãã·ã¥ãããŸãã®ã§ã
æ¥æ¬ã§ãéåžžã¯æ±äº¬ã»å€§éªã®ç°ãªããµãŒãçµæãåºãŠããã§ãããã
ãã£ãã·ã¥ãæå¹ã«ãããšããããã¡ã€ã«ã®æŽæ°ãåæ ãããŸããã
HTTP ããã CF-Cache-Status
ã HIT
ã«ãªãå Žåã¯
Cloudflare ãããã£ãã·ã¥ã«å
¥ã£ãŠãããã¡ã€ã«ãæäŸãããŸããã
ããã¯é
ä¿¡ãµãŒãããã®ãã¡ã€ã«æŽæ°ãæéãåãããŸã§ç¢ºèªãããªãäºã«ãªããŸãã
察çãšããŠããã£ãã·ã¥ãåé€ããæ¹æ³ããããŸãã
 Cloudflare ã® Web ãµã€ãããããã¡ã€ã³ ãéžæãã
Caching - æ§æïŒConfigurationïŒ ãšéžæãã
ããã£ãã·ã¥ãããŒãžãïŒPurge CacheïŒã§ãã£ãã·ã¥ãæ¶å»ã§ããŸãã
ããã¹ãŠããŒãžãïŒPurge EverythingïŒã¯ãã¡ã€ã³å
ã®ãã£ãã·ã¥ãå
šãŠæ¶å»ããããã
ãã®åŸäžæçã«é
ä¿¡ãµãŒãã®åç
§ãå¢ããäºã«ãªãã®ã§ã泚æãèŠããŸãã
ãªã®ã§ãé垞㯠URL ãæå®ããŠãæŽæ°ãããã¡ã€ã«ã ãããã£ãã·ã¥æ¶å»ããŸãã
ãã®æãHTML ã ãã§ã¯ãªããç»åãæŽæ°ããå Žåã¯ç»åãæŽæ°ãå¿
èŠã§ã
éçãµã€ããžã§ããŒã¿ã§ã¯äžèŠ§ããŒãžã»Sitemap ãæŽæ°ãããŠããäºã«ã泚æäžããã
ãã®ãããç¹ã«æŽæ°ãæ¿ãã Web ãµã€ãã»ããã°ã¯ãšããž ãã£ãã·ã¥ TTLïŒEdge Cache TTLïŒ
ãçãããŠã
æéåãã§å®æçã«æŽæ°ãããããã«ããŠããã®ãç¡é£ã§ãããã
 CloudFlare Purge Plugin | Chrome ãŠã§ãã¹ãã¢
Google Chrome ã®æ¡åŒµæ©èœã§ãã£ãã·ã¥ã®æ¶å»ãè¡ããŸãã
ã¢ã€ã³ã³ããåç
§ããŠããããŒãžã®æ¶å»ãè¡ããŸãã
ãã®ããŒãžã®ãã£ãã·ã¥ç¶æ
CF-Cache-Status
ã衚瀺ã§ããŠäŸ¿å©ã§ãã
é
ä¿¡å
ãµãŒãããã®ã¬ã¹ãã³ã¹ãè¯ãã®ã§ããã°ã
ãããŠãCache Everythingããå€ã
HTMLã»sitemap.xml 㯠Cloudflare ã§ãã£ãã·ã¥ããªãã®ãæã§ãã
API ãçšããŠãã€ããã㯠DNS ãå®çŸãããããšããŠããŸãããAPI ã倱æããŸãã
該åœã® A ãŸãŒã³ããã§ã«èšå®ãããŠããç¶æ
ã«ã㊠API ãå®è¡ããŠäžããã
CNAME ãªã©ä»ã®ãŸãŒã³ãããªãå Žåã¯æŽæ°ã§ããŸãããïŒãŸãŒã³è¿œå ããŸããïŒ
çŸåš API ã®ããŒãžã§ã³ã¯ v4 ã§ããå€ãããŒãžã§ã³ã§ã¯åäœããŸããã
ãŸã Cloudflare ã®ä»æ§å€æŽã«ãããåäœããªãã¹ã¯ãªãããååšããŸãã
æ¥æ¬èªãã¡ã€ã³ã¯ãµã€ãç»é²ã§ããŸããïŒ
CDN ãªã©ã®ãµãŒãã¹ã¯ç»é²ããŠäœ¿çšã§ããäºããµã€ãéå¶è
ã確èªã§ããŠããŸãã
Cloudflare 㯠Punycode å€æãã·ã¹ãã 察å¿ããŠããŠãæ£ãããã¡ã€ã³åã衚瀺ããŸãã
ãã ã ð Cloudflare Pages ãªã©äžéšã®ãµãŒãã¹ã¯
èšå®ããŠãåäœããªãã£ããããšã©ãŒè¡šç€ºã«ãªãã±ãŒã¹ããããŸãã
SSL 蚌ææžãæå¹ã«ãªã£ãŠããŸãããhttps ã®åç §ã«å€±æããŸãã
SSL/TLS - ãšããžèšŒææž ã§èšŒææžãçºè¡ãããŠãããã確èªããŸãã
çºè¡ãããŠããªãå Žåã¯ããã®ããŒãžãäžã«ã¹ã¯ããŒã«ãã
Universal SSL ãç¡å¹ã«ãã ãã¯ãªãã¯ããŠäžåºŠç¡å¹ã«ãã
Universal SSL ãæå¹ã«ãã ãã¯ãªãã¯ããäºã§ã蚌ææžçºè¡ãä¿ããŸãã
SSL 蚌ææžãããã§çºè¡ãããéããªã SSL ã§åç
§ãã§ããããã«ãªããŸãã
ð GitHub Pages ã ð Vercel ã®ããã«ã
Web ãµãŒãã¹ã»ãµãŒãåŽã ð Let’s Encrypt ãçºè¡ã SSL ãæå¹ã«ããå Žåã¯ã
ããŒã ãµãŒã㧠 ãã°ã¬ãŒã® DNS only ã«ããŠãCloudflare ã®åäœãç¡å¹ã«ããŠäžããã
CDN ãªã©ãCloudflare ã®æ©èœãæå¹ã«ãããå Žåã¯ã
ãµãŒãã®å€æŽãæ€èšããå¿
èŠããããããããŸããã
Cloudflare ã® SSL 蚌ææžã¯ãã«ããã¡ã€ã³èšŒææžã«ãªã£ãŠããŸããã
ç»é²ãããµã€ãïŒãã¡ã€ã³ïŒã«äžã€ãµããã¡ã€ã³ãä»ãããšãããŸã§æå¹ã§ãã
ïŒã€ä»¥äžã®ãµããã¡ã€ã³ã§ã¯ Cloudflare ã® SSL 蚌ææžãé©çšãããŸãããã
å€éšãµãŒãã¹ã§ ð Let’s Encrypt ã䜿çšããäºã¯å¯èœã§ãã