ユーザ用ツール

サイト用ツール


50_dialy:2025:02:06

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
50_dialy:2025:02:06 [2025/02/08 08:36] – 作成 matsui50_dialy:2025:02:06 [2025/02/18 00:43] (現在) matsui
行 17: 行 17:
  
 ===== removeip.conf用意 ===== ===== removeip.conf用意 =====
 +
 +CloudflareからのヘッダCF-Connecting-IPを指定し、CloudflareのIPだけをリモートIPに変換する。
 +CloudflareのIPリストは、[[https://www.cloudflare.com/ja-jp/ips/]]
  
 <code| /etc/apache2/conf-available/remoteip.conf> <code| /etc/apache2/conf-available/remoteip.conf>
 +LoadModule remoteip_module modules/mod_remoteip.so
 RemoteIPHeader CF-Connecting-IP RemoteIPHeader CF-Connecting-IP
 +
 +RemoteIPTrustedProxy 173.245.48.0/20
 +RemoteIPTrustedProxy 103.21.244.0/22
 +RemoteIPTrustedProxy 103.22.200.0/22
 +RemoteIPTrustedProxy 103.31.4.0/22
 +RemoteIPTrustedProxy 141.101.64.0/18
 +RemoteIPTrustedProxy 108.162.192.0/18
 +RemoteIPTrustedProxy 190.93.240.0/20
 +RemoteIPTrustedProxy 188.114.96.0/20
 +RemoteIPTrustedProxy 197.234.240.0/22
 +RemoteIPTrustedProxy 198.41.128.0/17
 +RemoteIPTrustedProxy 162.158.0.0/15
 +RemoteIPTrustedProxy 104.16.0.0/13
 +RemoteIPTrustedProxy 104.24.0.0/14
 +RemoteIPTrustedProxy 172.64.0.0/13
 +RemoteIPTrustedProxy 131.0.72.0/22
 </code> </code>
  
50_dialy/2025/02/06.1739003774.txt.gz · 最終更新: 2025/02/08 08:36 by matsui