microrealestate icon indicating copy to clipboard operation
microrealestate copied to clipboard

Running Behind Nginx Proxy Manager

Open upuldi opened this issue 1 year ago • 3 comments

I am trying to run MRE on my Synology NAS behind the Nginx Proxy Manager. I modified the .env file as follows, built and started it. I also set up local DNS entries so I can access it locally without specifying a port in the DNS.

This is my .env file. image

This is my Nginx proxy manager setup. image

I can access the site from the local DNS. image

However, with the above settings and the Nginx Proxy Manager settings, it appears that MRE cannot access the API, which leads to the following error. image

What I am trying to achieve is running MRE behind Nginx so that I can access it easily without typing a URL path or ports. As I plan to run this on Synology, I want to use a different port. What is the best way to get this done?

upuldi avatar Apr 16 '23 05:04 upuldi

It is weird. It looks like your config is good. Did you check that all docker containers are up? I just updated this diagram: I hope it can help you to troubleshoot what is missing.

camelaissani avatar Apr 22 '23 22:04 camelaissani

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 17 '23 00:09 stale[bot]

Work fine for me behind Ngnix proxy manager, you have to specify the AUTHENTICATOR_URL in the .env file, so your Gateway can redirect the call to your authenticator service as the autenticator is not directly exposed on your host.

mdy405 avatar Oct 27 '23 14:10 mdy405