server { listen 80; server_name bin.ixvd.net; location = /client { root /usr/share/nginx/html/bin; } location / { proxy_pass http://bin:6162; } }