💬 Commented on "trustProxy: falseã§IPベースã®ãƒ¬ãƒ¼ãƒˆãƒªãƒŸãƒƒãƒˆãŒæ©Ÿèƒ½ã—ãªã„ãªã©ã®å•題ãŒã‚ã‚‹": syuilo "正常ã«å‹•作ã—ã¦ã„ãªã„ã¨ãã«ãれを検知ã§ãる仕組ã¿ã®å®Ÿè£…ã¯é›£ã—ã„ã¨æ€ã£ã¦ã¾ã—ãŸ"
💥 Issue opened: #16999 "センシティブ設定ã•れãŸãƒãƒ£ãƒ³ãƒãƒ«ã®å†…容をアンテナã§è¡¨ç¤ºã™ã‚‹æ™‚ã«ç›®ç«‹ãŸãªã„表示ã«ã—ã¦ã»ã—ã„"
💬 Commented on "trustProxy: falseã§IPベースã®ãƒ¬ãƒ¼ãƒˆãƒªãƒŸãƒƒãƒˆãŒæ©Ÿèƒ½ã—ãªã„ãªã©ã®å•題ãŒã‚ã‚‹": samunohito "> (ã†ã¡ãŒinternet -> cloudflare -> nginx -> Misskeyã®æ§‹æˆãªã®ã§æ¤œè¨¼ã—ãŸã„) ã‚„ã£ã¦ãã¾ã—ãŸã€‚ cloudflareを挟む場åˆã€nginxã®è¨­å®šã‚‚å¿…è¦ãã†ã§ã™ --- â‘  ã®å®Ÿè£… + ã®IPv6 ```ts const fastify = Fastify({ trustProxy: this.config.trustProxy ?? [ '10.0.0.0/8', '172.16.0.0/12', '192.168.0.0/16', '127.0.0.1/32', '::1/128', 'fc00::/7' ], logger: false, }); ``` --- â‘¡[Hubã«è¨˜è¼‰ã•れã¦ã„ãŸnginxã®è¨­å®š]() + cloudflareã®ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆã«[記載ã•れã¦ã„ãŸã‚µãƒ³ãƒ—ル]() + cloudflareãŒ[公開](https://www.cloudflare.com/ips/)ã—ã¦ã„ã‚‹IP一覧 ```txt ... # Proxy to Node location / { proxy_pass http://127.0.0.1:3000; proxy_set_header Host $host; proxy_http_version 1.1; proxy_redirect off; # ---- 追記ã“ã“ã‹ã‚‰ ---- real_ip_header CF-Connecting-IP; real_ip_recursive on; set_real_ip_from 173.245.48.0/20; set_real_ip_from 103.21.244.0/22; set_real_ip_from 103.22.200.0/22; set_real_ip_from 103.31.4.0/22; set_real_ip_from 141.101.64.0/18; set_real_ip_from 108.162.192.0/18; set_real_ip_from 190.93.240.0/20; set_real_ip_from 188.114.96.0/20; set_real_ip_from 197.234.240.0/22; set_real_ip_from 198.41.128.0/17; set_real_ip_from 162.158.0.0/15; set_real_ip_from 104.16.0.0/13; set_real_ip_from 104.24.0.0/14; set_real_ip_from 172.64.0.0/13; set_real_ip_from 131.0.72.0/22; set_real_ip_from 2400:cb00::/32; set_real_ip_from 2606:4700::/32; set_real_ip_from 2803:f800::/32; set_real_ip_from 2405:b500::/32; set_real_ip_from 2405:8100::/32; set_real_ip_from 2a06:98c0::/29; set_real_ip_from 2c0f:f248::/32; # ---- 追記ã“ã“ã¾ã§ ---- # If it's behind another reverse proxy or CDN, remove the following. proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; ... ``` --- 実際ã«ãƒ­ã‚°ã‚¤ãƒ³å±¥æ­´ã§ç¢ºèªã—ã¦ã¿ãŸã‚‚ã®â†“ ![Image](https://github.com/user-attachments/assets/c6369d05-4d38-4078-b0a4-b01a5e05bb48) - 下段:configもソースも何も対応ã—ã¦ãªã„(2025.12.0ã®ç´ ã®çŠ¶æ…‹ã«è¿‘ã„) - 中段:①ã ã‘æ–½ã—ãŸçŠ¶æ…‹ã€‚cloudflareãŒå…¬é–‹ã—ã¦ã„ã‚‹IP帯ã®ä¸­ã«ã‚ã‚‹ã‚‚ã®ã ã£ãŸï¼ˆä¸€å¿œä¼ã›ãŸï¼‰ - 上段:①ã¨â‘¡ã‚’æ–½ã—ãŸçŠ¶æ…‹ã€‚è‡ªå®…ã®IPv6ãŒè¨˜éŒ²ã•れã¦ã„ã‚‹"
💬 Commented on "enhance(backend/test): Migrate tests to vitest ã€å®Ÿé¨“中】": kakkokari-gtyih "unit test 通ã£ãŸ ã‚ã¨ã¯ e2e"
💬 Commented on "Release: 2025.12.1": syuilo "ðŸ™ðŸ™ðŸ™"
💬 Commented on "ç‰¹å®šã®æ¡ä»¶ã§PWAã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れãŸMisskeyãŒç©ºç™½ã®ãƒšãƒ¼ã‚¸ã§ã‚¹ã‚¿ãƒƒã‚¯ã—ã¦ã—ã¾ã†ã€‚": mattyatea "æ­£ã—ã„修正方法らã—ãã‚‚ã®ã§PRを作ã£ã¦ã¿ã¾ã—ãŸ"
👀 Pull Request marked as ready: "enhance: use native glob"
💬 Commented on "ç‰¹å®šã®æ¡ä»¶ã§PWAã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•れãŸMisskeyãŒç©ºç™½ã®ãƒšãƒ¼ã‚¸ã§ã‚¹ã‚¿ãƒƒã‚¯ã—ã¦ã—ã¾ã†ã€‚": tamaina "確ã‹ã«èµ·å‹•ãŒãƒãƒ³ã‚°ã—ãŒã¡ã«ãªã£ã¦ããŸã‚ã­"
💬 Commented on "削除ã•れãŸãƒŽãƒ¼ãƒˆã®ãƒªãƒŽãƒ¼ãƒˆã¯ã€å‰Šé™¤ã—ãŸãƒŽãƒ¼ãƒˆã®ç©ºå¼•用ã®ãƒªãƒŽãƒ¼ãƒˆã¨ã—ã¦è¡¨ç¤ºã•れる": tamaina "ãã†ã‹ã—ら…? 「Renoteã®å¯¾è±¡ãŒå‰Šé™¤ã•れãŸå ´åˆã€ãã®RenoteãŒå‰Šé™¤noteã«å¯¾ã™ã‚‹ç©ºã®å¼•用ã¨è¡¨ç¤ºã•れã¦ã—ã¾ã†ã€ã¨ã„ã†ã€Œç¾è±¡ã€ã«å¯¾ã—ã¦IssueãŒ1ã¤ã‚ã‚‹ã ã‘ã§ã„ã„ã¨æ€ã†ã®ã ã‘れã©"