server {
listen 10.0.0.126:80;
server_name shtep.in.ua b.shtep.in.ua;
root /var/www/html/shtep.in.ua/;
access_log off;
error_log /var/log/nginx/error.log;
location / {
proxy_pass
http://backend;proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}