forem/forem

Installing behind nginx-proxy-manager

netandreus opened this issue · 2 comments

Describe the bug
I am using this manual to install Ferum with devcontainers:
https://developers.forem.com/getting-started/installation/containers
It starting Rails server at 3000 port. When I trying to open http://public_ip:3000 I can see web UI.
Next, I'm trying to install nginx-prxy-manager (at 80 and 443 port).
I add proxy host for my public domain and point it from 80/443 public port to 127.0.0.1:3000
But when I trying to access site from outside http://public_ip I see this json:

{"status":"OK","version":{"major":2,"minor":11,"revision":1}}

instead of WebUI interface.

To Reproduce

Install Forem:

git clone https://github.com/forem/forem.git
gem install dip
dip provision
dip rails s

Install nginx proxy manager:
Screenshot 2024-02-20 at 18 19 45

when I trying to access site from outside http://public_ip I see this json:

{"status":"OK","version":{"major":2,"minor":11,"revision":1}}

instead of WebUI interface.

Expected behavior

Web UI

Server:

Ubuntu 22.04

Thanks for the issue, we will take it into consideration! Our team of engineers is busy working on many types of features, please give us time to get back to you.

To our amazing contributors: issues labeled bug are always up for grabs, but for feature requests, please wait until we add a ready for dev before starting to work on it.

If this is a feature request from an external contributor (not core team at Forem), please close the issue and re-post via GitHub Discussions.

To claim an issue to work on, please leave a comment. If you've claimed the issue and need help, please ping @forem-team. The OSS Community Manager or the engineers on OSS rotation will follow up.

For full info on how to contribute, please check out our contributors guide.

I assume nginx and forem are both running in the same instance of ubuntu?
If you go to http://127.0.0.1:3000 on the ubuntu machine does that load the web ui as you'd expect?