From: Alexey Morsov <samurai@ricom.ru> To: community@lists.altlinux.org Subject: Re: [Comm] ALT-4.0 и nginx - Fast HTTP server Date: Fri, 24 Oct 2008 15:22:42 +0400 Message-ID: <20081024112242.GB26156@ricom.ru> (raw) In-Reply-To: <E1KtKWw-000HCk-00.chelroot74-mail-ru@f177.mail.ru> [-- Attachment #1: Type: text/plain, Size: 1178 bytes --] On Fri, Oct 24, 2008 at 03:08:34PM +0400, Vitalik Salomatin wrote: > http://10.0.0.1:81 - напрямую апач отвечает. > Или nginx не проксирует на апач, либо апач не воспринимает nginx > # proxy_redirect off; > # proxy_set_header Host $host; > # proxy_set_header X-Real-IP $remote_addr; > # proxy_set_header X-Forwarded-For > $remote_addr; Раскомментировать. Т.е. должно быть что-то вроде: server { listen *:80; server_name my.domain.ru; location / { proxy_pass http://apache.my.int/; proxy_set_header X-Real-IP $remote_addr; } } -- WBR, Alexey Morsov программист ЗАО "ИК "Риком-Траст" Jabber: samurai@www.fondmarket.ru ALT Linux Team Member > а как он [etcnet] мог от простого осизифливаничя автоматически поставиться? apt-get, конечно, крут, но не настолько безжалостен. -- ldv in community@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 489 bytes --]
prev parent reply other threads:[~2008-10-24 11:22 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-24 11:08 Vitalik Salomatin 2008-10-24 11:18 ` alisher 2008-10-24 11:22 ` Alexey Morsov [this message]
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=20081024112242.GB26156@ricom.ru \ --to=samurai@ricom.ru \ --cc=community@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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git