Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105817

Forward real IP from Nginx addon?

$
0
0

@eroji1 wrote:

I can’t seem to figure out how to get the Nginx proxy addon to forward the real IP to Home Assistant. All IPs logged shows 172.x.x.x, which is the IP of the proxy container. I tried following the vague mention in the description about enabling custom config and putting a *.conf file in the share path. I tried that but it does not insert the Ngnix header config in the right place.

image

[root@assistant ~]# docker inspect addon_core_nginx_proxy | jq -r .[].NetworkSettings.Networks.hassio.IPAddress
172.30.33.1

Nginx Proxy Configuration

domain: assistant.example.com
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
  active: true
  default: nginx_proxy_default*.conf
  servers: nginx_proxy/*.conf

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 105817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>