Home Assistant Community Add-on: Nginx Proxy Manager

Good question. Anyone else know?

I have https://mydomain.com going to Nginx Proxy Manager, which successfully sends it to my hass page at http://10.10.10.10:8123

The link in TasmoAdmin for OPEN WEB UI is: http://mydomain.com:9541

If I set the TasmoAdmin config to: “ssl”: true, I get: This site can’t be reached
If I set the TasmoAdmin config to: “ssl”: false, I get: This site can’t be reached

Still doesn’t work when I add a Proxy Host for: mydomain.com:9541 and send it to: http://10.10.10.10:9541 even though that address works in my browser.

There must be some other trick for a Proxy Host with a different port, but without a subdomain to distinguish it from the base hass address. Anyone?

Most probably you know this already, but just in case: ssl true the address has to be https, ssl false has to be http

Yes, thanks. I should be able to reach it with http and let the Proxy Manager handle the SSL. I know how to set up the Proxy Manager with example.mydomain.com but I can’t figure out how to do it with mydomain.com:1234 which is how the OPEN WEB UI button is configured for TasmoAdmin and other Add-ons.

:tada: Release v0.2.0

Full Changelog

Generic upgrade & bugfix release.

:hammer: Changes

  • :ambulance: Update permissions on /etc/my.cnf (#8) (@jesserockz)
  • :arrow_up: Upgrades NGinx Proxy Manager to 2.0.13 (#13) (@tjorim)
  • :arrow_up: Upgrades Python to 2.7.16-r1
  • :arrow_up: Upgrades mariadb to 10.3.13-r1
  • :arrow_up: Upgrades nginx to 1.14.2-r1
  • :ambulance: Fixes changing default site setting

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

:tada: Release v0.2.1

Full Changelog

Bugfix release.

:hammer: Changes

  • :ambulance: Enables InnoDB in MariaDB for migrations

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Basically I think it’s just more user friendly with it’s GUI. Just a few clicks and you have reverse proxying.
For people that are familiar and comfortable with NGinx or Caddy I think there is no benefit.

1 Like

Thanks @frenck this addon worked very easily to setup multiple subdomains for all my connections.

I’ve been struggling the last few days to get this add-on to enable remote access for other add-ons. Here’s my current config: Hass.io running on Raspbian, remote access available via https://mydomain.duckdns.org with NPM set up per the GIF in the OP, routers has ports forwarded of 80:80 and 443:443. I’m trying to access add-ons (for example, Grocy running on port 9192) via mydomain.duckdns.org/grocy. To set this up as a location, it appears I would need these settings in NPM:

location: /grocy
scheme: https
forward hostname/IP: (same IP as rpi3) 192.168.xx.xxx
forward port: 9192

Does this also require router port forwarding of 9192:9192? If so, and if I’m trying to minimize the number of ports opened at my router, is there a way to access Grocy from mydomain.duckdns.org/grocy without opening another port?

You don’t need to open more ports, one of the main reasons you would use a reverse proxy.

I’ve never used grocy but are you using https? Try to also see what others use to get grocy working with nginx as it will be a case by case basis for configuration, depending on what the addon uses.

The grocy addon is running on port 9192 and is accessible on my internal network at 192.168.xx.yyy:9192. Here’s how I set up the custom location:
image
This gives me a 502 Bad Gateway error. If I change the http to https, I get Page Not Found. I’m a novice when it comes to nginx and HA, so I’m not sure what to try next. I’ve exhausted Google and these forums, really only finding many other people with this same question.

Try click the gear icon and add the following to the area below:

rewrite /grocy/(.*) /$1 break;

Thanks, but no luck, still a 502 Bad Gateway with that added:
34%20PM

Dear can you put / at the end of your localip.
Than save and try

dear can you help me for grafana,
as i am not getting it to work outside my local network.

i am on hassio installed on rpi3b+ on raspbian strech.

i have grafana as hassio addon which works on https://192.168.1.35:3000

and for home assistant i have a different port other than 443
its 6773
like when i open my.ddns.net:6773
I get my homeassistant to work from anywhere.
Please guide me,
Thanks

This is my config for Grafana (not using custom locations).

Note, I have SSL turned OFF on the Grafana addon itself.

1 Like

any special env for grafana during installing grafana hassio adon

Have you considered Zerotier One?

Works perfectly

Once you’ve saved, have you confirmed that you proxy is still functioning?

I have. As to why, the only reason was the nice web UI and the fact that this will probably be updated more often.
The switch was very easy, turn Caddy off, turn Nginx Manager on and configure.
No problems.

Thanks, well this part scares me a bit, I guess will need to play with it a bit, in a weekend