0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Qiita100万記事感謝祭!記事投稿キャンペーン開催のお知らせ

【備忘録】 mod_remoteip でX-Forwarded-For(apache)

Last updated at Posted at 2025-01-13

やり方

sudo apt update
sudo a2enmod remoteip
sudo systemctl restart apache2

で有効化

そしてapacheの設定ファイル/etc/apache2/apache2.conf(僕の場合)の一番下に書き込む

/etc/apache2/apache2.conf
RemoteIPHeader X-Forwarded-For

~終~

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?