From: Grigory Fateyev <greg@anastasia.ru>
To: sysadmins <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] настройка nginx
Date: Fri, 19 Jan 2007 20:44:04 +0300
Message-ID: <20070119204404.2c76b4fd@greg> (raw)
Здравствуйте!
На домашнем компьютере поднял nginx-0.1.45 как прокси сервер к apache,
но при минимальной настройке в корне / при загрузке nginx появляются
каталоги:
/client_body_temp
/fastcgi_temp
/proxy_temp
Причём, так я понял, файл /etc/nginx/nginx.conf на это не влияет.
Откуда они могут браться?
На сервере стоит 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/ /;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
# Static files location
location ~*
^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|p
pt|txt|tar|mid|midi|wav|bmp|rtf|js)$
{ root /var/www/domain.ru/www; }
}
И в apache на каждый домен есть своя запись. Так вот сама проблема, на каждый домен в apache есть Alias /pma /var/www/PhpMyAdmin и при ссылке на http://domain.ru/pma пока не откроешь порт :8080 войти невозможно. Если порт открыт, то авторизацию приходится проходить два раза. В чём может быть проблема и как это победить?
--
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/01/19 20:19
next reply other threads:[~2007-01-19 17:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 17:44 Grigory Fateyev [this message]
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
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=20070119204404.2c76b4fd@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