Config help when reverse proxy and discourse on seperate computers

Hi,

System: Unbuntu 24.04
Nginix

I have a fully functional discourse server running @ forum.example.com on e.g, 192.168.0.2 and a reverse proxy hosting a static home page @ example.com on e.g., 192.168.0.1.

Since the reverse proxy hosting example.com (index.html) and the discourse server forum.example.com are on two separate local computers I had the following questions, pertaining to config settings for the server block on the reverse proxy and app.yml settings for the discourse server.

Questions 1.

I assume that
proxy_pass http://unix:/var/discourse/shared/standalone/nginx.http.sock;

would look like this:
proxy_pass http://192.168.0.2

If so, would I need to also assign a port

e.g.,

proxy_pass http://192.168.0.2:80
and if a port assignment is required what port should I use and how would that
be reflected in the discourse app.yml file as it pertains to:

#expose:

- “80:80” # http

- “443:443” # https.

I’m aware of the discourse knowledge base on setting up discourse on a reverse proxy, whereby both the reverse proxy and discourse are on the same computer, but did not have much success in finding, other than AI results of what differences would exist when the reverse proxy and discourse instance are on two separate computers.

P.S. if there are any other config changes different from when both reverse proxy and discourse are on same computer, please reveal.

Thank you.