Nginx в качестве прокси сервера

Мар 09 2012

Элегантный вариант превратить nginx в прокси сервер, нашел решение где-то на просторах интернета:

server {
        server_name ~^(www\.)?(?<domain>.+)$;
        access_log /var/log/nginx/proxy.access.log main;
        error_log /var/log/nginx/proxy.error.log crit;
        listen 0.0.0.0:5190; #Адрес на котором слушать
        resolver 8.8.8.8; #Адрес ДНС-сервера

        location / {
                proxy_pass http://$domain;
                proxy_redirect off;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For
                $proxy_add_x_forwarded_for;
        }
}
VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

No responses yet

Greenfoot — введение в ООП

Апр 13 2011

Consider greenfoot as a combination between a framework for creating two-dimensional grid assignments in Java and an integrated development environment (class browser, editor, compiler, execution, etc.) suitable for novice programmers. While greenfoot supports the full Java language, it is especially useful for programming exercises that have a visual element. In greenfoot object visualisation and object interaction are the key elements.

(Домашняя страница)

VN:F [1.9.17_1161]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

No responses yet

Прием лабораторных и курсовых работ

Дек 20 2010

Прием лабораторных и курсовых работ состоится в среду 22 декабря в аудитории 136(б) в 10.00.

VN:F [1.9.17_1161]
Rating: 4.0/10 (3 votes cast)
VN:F [1.9.17_1161]
Rating: -3 (from 3 votes)

No responses yet

Прием лабораторных работ (3,4,5 курсы)

Дек 06 2010

Прием лабораторных работ состоится 08.12.2010 (среда) в 9.50 в аудитории 136а

VN:F [1.9.17_1161]
Rating: 8.3/10 (3 votes cast)
VN:F [1.9.17_1161]
Rating: +1 (from 1 vote)

No responses yet

Older posts »