ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Grigory Fateyev <greg@anastasia.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] настройка nginx
Date: Wed, 24 Jan 2007 14:49:10 +0300
Message-ID: <20070124144910.5d28ddea@greg> (raw)
In-Reply-To: <20070121211235.GA21330@lks.home>

Hello Konstantin A. Lepikhov!
On Mon, 22 Jan 2007 00:12:36 +0300 you wrote:

> > > > И в apache на каждый домен есть своя запись. Так вот сама
> > > > проблема, на каждый домен в apache есть
> > > > Alias /pma /var/www/PhpMyAdmin и при ссылке на
> > > > http://domain.ru/pma пока не откроешь порт :8080 войти
> > > > невозможно. Если порт открыт, то авторизацию приходится
> > > > проходить два раза. В чём может быть проблема и как это
> > > > победить?
> > > Потому что он в Location отдает такой порт. Его же обратно
> > > переписывать надо, или убрать / в конце строки ...:8080/
> > > 
> >             proxy_pass         http://127.0.0.1:8080;
> >             proxy_redirect     http://www.domain.ru:8080 /;
> >             #proxy_redirect     http://domain.ru:8080 /;
> > Так?
> http://sysoev.ru/nginx/docs/http/ngx_http_proxy_module.html
> 
> location / {
> 	proxy_pass        http://localhost:8080/;
> 	proxy_redirect    http://localhost:8080 /;
> }
> 
> или 
> 
> location / {
> 	proxy_pass        http://localhost:8080/;
> 	proxy_redirect    default;
> }

Чего-то nginx ни как не реагирует на редактирование конфигов то-же
поведение и осталось. :(

-- 
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/01/24 14:47


  parent reply	other threads:[~2007-01-24 11:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19 17:44 Grigory Fateyev
2007-01-19 18:13 ` Alexander Volkov
2007-01-20 14:13   ` Grigory Fateyev
2007-01-22  8:28     ` Alexander Volkov
2007-01-19 18:57 ` Konstantin A. Lepikhov
2007-01-20 14:22   ` Grigory Fateyev
2007-01-21 21:12     ` Konstantin A. Lepikhov
2007-01-22 12:52       ` Grigory Fateyev
2007-01-24 11:49       ` Grigory Fateyev [this message]
2007-01-24 15:53         ` Konstantin A. Lepikhov

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=20070124144910.5d28ddea@greg \
    --to=greg@anastasia.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