環境は FreeBSD 13.1-RELEASE-p1 と nginx/1.22.0 。

Jail を使って、host と hosted の両方に nginx を入れて reverse proxy を構成。