From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] настройка nginx Date: Fri, 19 Jan 2007 21:57:29 +0300 Message-ID: <20070119185729.GA19365@lks.home> (raw) In-Reply-To: <20070119204404.2c76b4fd@greg> [-- Attachment #1: Type: text/plain, Size: 1578 bytes --] Hi Grigory! Friday 19, at 08:44:04 PM you wrote: > Здравствуйте! > > На домашнем компьютере поднял nginx-0.1.45 как прокси сервер к apache, > но при минимальной настройке в корне / при загрузке nginx появляются > каталоги: > /client_body_temp > /fastcgi_temp > /proxy_temp > Причём, так я понял, файл /etc/nginx/nginx.conf на это не влияет. > Откуда они могут браться? вы бы еще постарее nginx нашли и потом удивлялись. > > На сервере стоит nginx-0.3.49, он тоже выполняет функцию прокси к > apache и много виртуальных сайтов: > server { > listen domain.ru; > server_name domain.ru www.domain.ru; > access_log /var/www/domain.ru/log/nginx_access_log > main; > error_log /var/www/domain.ru/log/nginx_error_log warn; > error_page 404 /404.html; > > # Main location > location / { > autoindex on; > 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/ -- WBR et al. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-01-19 18:57 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 [this message] 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 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=20070119185729.GA19365@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