location / { root {{ (webroot_dir ~ '/static') | quote }}; try_files $uri @legacy_site; } location /le-game { return 301 https://vk.com/app5898182_-200204055#s=1306418; } location @legacy_site { proxy_pass http://85.119.149.96/$request_uri; proxy_set_header Host $host; }