How to configure Nginx as a reverse proxy for Ghost

Hello,
I need to install Ghost with integrated discussion engine called Talkyard. To do so, I have been told to configure Nginx as a reverse proxy for both Ghost and Talkyard.

How can I install Ghost with Nginx as a reverse proxy?

Thank you in advance for your answers.

You can have a look at the documentation for ghost-cli. The “ghost setup” section should cover what you’re searching for. Ghost-CLI - A fully loaded tool for installation and configuration