Re: Сайт под определенным портом

0987 nginx-forum at nginx.us
Thu Oct 15 13:01:58 MSD 2009


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






More information about the nginx-ru mailing list