Home Assistant Community Add-on: Nginx Proxy Manager

And another fix to make working esphome but i cant set them both

after some attempts to learn ngnix i did the trick
solution

proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;

and


Custom Nginx Configuration

location / {
    location  /api/hassio_ingress { 
    }
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_http_version 1.1;
proxy_set_header X-Forwarded-Host $http_host;

# Proxy!
include conf.d/include/proxy.conf;
}

be careful with structure and chek it )