From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] настройка nginx Date: Mon, 22 Jan 2007 00:12:36 +0300 Message-ID: <20070121211235.GA21330@lks.home> (raw) In-Reply-To: <20070120172211.2b116205@greg> [-- Attachment #1: Type: text/plain, Size: 1426 bytes --] Hi Grigory! Saturday 20, at 05:22:11 PM you wrote: > А где бы взять nginx поновее для ALT? конкретизируйте вопрос > > > > На сервере стоит nginx-0.3.49, он тоже выполняет функцию прокси к > > > apache и много виртуальных сайтов: > > > proxy_pass http://127.0.0.1:8080/; > > > proxy_redirect http://www.domain.ru:8080/ /; > > > #proxy_redirect http://domain.ru:8080/ /; > > ... > > > > > > > > И в 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; } -- WBR et al. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-01-21 21:12 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 [this message] 2007-01-22 12:52 ` Grigory Fateyev 2007-01-24 11:49 ` Grigory Fateyev 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=20070121211235.GA21330@lks.home \ --to=lakostis@unsafe.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