Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Сайт под ? ?пределенн ым портом
Daniel Podolsky
http://i042.radikal.ru/0910/25/771bdc6b553e.jpg
Dmitriy
server {
listen 10088;
server_name_in_redirect off;
access_log /var/log/nginx/access.log main;
index index.php index.htm index.html;
error_page 500 502 503 504 /500.html;
error_page 404 /404.php;
#proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header Host $host:10088;
client_max_body_size 1024M;
client_body_buffer_size 4M;
location / {
root /home/test/www;
}
}
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,13678,13880#msg-13880
|