Help with Hassio under LetEncrypt and Add ons

For the longest time, I have been using HA docker on unraid but due to some issues I decided to swap over to to another system with Hassio in a vm. I have transfered all my config over and then went into the letencrypt config folder and changed the ip address to the new HA one. HA seems to be secure but Im noticing the adds ons are working correctly. I wanted to remove many containers I can that can easily be replaced with the add ons

The mosquitto broker is getting socket errors and and vscode add on is just a black screen. I use NAT reflection at home so rarely use my local ip to get into HA. Is there something I missing when it comes to adding add ons? While using ssl with letsencrypt while HA was in a docker, I never had to copy over the certs. I tried that anyways but still cant get it to work .

This is my nginx config
my HA address is

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;
  proxy_headers_hash_max_size 512;
    proxy_headers_hash_bucket_size 64;
    #resolver valid=30s;

location /api/websocket {
    #resolver valid=30s;
    proxy_set_header Host $host;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";


I commented out the resolver thinking its from the unraid setup.


#Secrets are defined in the file secrets.yaml
api_password: !secret http_password
#Uncomment this if you are using SSL/TLS, running in Docker container, etc.
#ssl_certificate: !secret ssl_cert
#ssl_key: !secret ssl_key
base_url: !secret base_url

Any information you need I can provide, im pretty stump here.

1 Like