Hey Guys,
i read now nearly every post about this subject...
it still dont want to work for me...
I got swag as a docker with a custom proxi network for bitwareden, nextcloud and vpn.
i got access to my homeassistant remotlie at ha.xxxx.de:8123
i dont get it to work with https://
home assistant configuration.yaml:
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.3.210 #unraid ip-adress
- 172.18.0.2 #swag ip-adress
and of corse i renamed the proxy-config file in swag:
homeassistant.subdomain.conf
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name ha.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app 192.168.3.10;
set $upstream_port 8123;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
location ~ ^/(api|local|media)/ {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app 192.168.3.10;
set $upstream_port 8123;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
as i said i can conect remot to ha.xxxx.de:8123
so the port forwarding is working.
What could it be?..
thanks for your reading this!