Please upgrade to 2.3 here.
The 2.2 and earlier branches are no longer being updated.
Vanilla on Nginx behind Nginx proxy
I don't know if this is a problem with Vanilla being behind proxy, I setup Nginx as described in the docs.
But there is problem some URLs emitted by Vanilla lack the hostname part of the url.