From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] nginx+nginx+... :)
Date: Thu, 17 Jan 2008 11:43:10 +0500
Message-ID: <m3ve5tvtoh.fsf@vvk.distance.ru> (raw)
In-Reply-To: <20080105234116.GT17636@osdn.org.ua> (Michael Shigorin's message of "Sun, 6 Jan 2008 01:41:16 +0200")
>>>>> On 06 Jan 2008 at 04:41 "MS" == Michael Shigorin writes:
MS> к рассмотрению такие заголовки). Конфигурируются они по
MS> документации, только вместо 127.0.0.1 может быть другой адрес,
MS> если прокси ходит не по loopback interface:
MS> --- /etc/httpd/conf/httpd.conf
MS> AddModule mod_realip.c
MS> # ...
MS> <IfModule mod_realip.c>
MS> RealIP 127.0.0.1 xfwd
MS> RealIP 10.0.1.234 xfwd
MS> RealIP my.re.al.ip xfwd
MS> </IfModule>
MS> # ...
MS> ---
btw, я предпочитаю прописывать просто "RealIP on", чтобы не заморачиваться с
прописыванием всех фронтендов + они ещё и меняются со временем.
--
vvk
Russian Postfix irc: irc.freenode.net #postfix-ru
next prev parent reply other threads:[~2008-01-17 6:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-05 23:41 Michael Shigorin
2008-01-06 0:30 ` Denis Smirnov
2008-01-17 6:43 ` Vladimir V. Kamarzin [this message]
2008-01-18 9:46 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ve5tvtoh.fsf@vvk.distance.ru \
--to=vvk@vvk.pp.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git