Add trusted_proxies note

This commit is contained in:
Roxedus 2021-07-13 12:28:33 +02:00
parent f9d6d9ca4f
commit f0e97d1e25
No known key found for this signature in database
GPG key ID: EBC13557C4D91D7B

View file

@ -1,6 +1,15 @@
## Version 2021/05/18 ## Version 2021/07/13
# make sure that your dns has a cname set for homeassistant and that your homeassistant container is not using a base url # make sure that your dns has a cname set for homeassistant and that your homeassistant container is not using a base url
# As of homeassistant 2021.7.0, it is now required to define the network range your proxy resides in, this is done in Homeassitants configuration.yaml
# https://www.home-assistant.io/integrations/http/#trusted_proxies
# Example below uses the default dockernetwork ranges, you may need to update this if you dont use defaults.
#
# http:
# use_x_forwarded_for: true
# trusted_proxies:
# - 172.16.0.0/12
server { server {
listen 443 ssl; listen 443 ssl;
listen [::]:443 ssl; listen [::]:443 ssl;