Hi,
So I have Domoticz sat begind NGINX which is being used to reverse proxy a number of applications to the internet. I can access Domoticz remotely from the browser using https://mydns.dns.net/domo fine. I don't have a username/password setup for Domoticz.
My server block in NGINX looks like this:
# Domo
location /domo {
proxy_pass http://192.168.1.90:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
However in Controlicz, I set my the host addrress to https://mydns.dns.net/domo with port 443, and use my NGINX username and password but it doesn't connect and always pops up with "Check your Settings".
Has anyone else tried this and got it working?
Many thanks!!
Controlicz and NGINX
Moderator: leecollings
-
- Posts: 1
- Joined: Thursday 20 September 2018 11:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Controlicz and NGINX
Hi
I just encountered the same problem. It looks like Controlicz doesn't like the /domo suffix. I ended up in configuring it like this
# Domo
location / {
proxy_pass http://192.168.1.90:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
# Otherapp
location /otherapp {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
Gr
I just encountered the same problem. It looks like Controlicz doesn't like the /domo suffix. I ended up in configuring it like this
# Domo
location / {
proxy_pass http://192.168.1.90:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
# Otherapp
location /otherapp {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
Gr
Who is online
Users browsing this forum: No registered users and 1 guest