upstream putit {
# Адрес back-end'a
server putit.ru:8080;
}
server {
listen 80;
server_name www.putit.ru putit.ru;
access_log /home/username/domains/putit.ru/logs/nginx_access.log;
error_log /home/username/domains/putit.ru/logs/nginx_error.log;
# Перенаправление на back-end
location / {
proxy_pass backend;
include /etc/nginx/proxy.conf;
}
....
}
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;
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 16k;
proxy_buffers 16 16k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
-label:{label label label}
https://mail.google.com/mail/?hl=ru&shva=1#search/-label%3A%7Blabel+label+label%7D