Reverse proxy and Ingres

Hi. Im having a problem with setting up reverse proxy.
Im using Linuxserver-made docker container with Letsencrypt and while HA itself works fine, im struggling with Ingres apps - Grafana works fine, Terminal/SSH shows black screen and blinking cursor (without the prompt) and VSCode doesnt work at all (gray screen) All ingres apps work fine when accessing HA using IP number.
Here’s my config:

# make sure that your dns has a cname set for homeassistant and that your homeassistant container is not using a base url

server {
    listen 443 ssl;
    listen [::]:443 ssl;

    server_name home.*;
    add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";
    include /config/nginx/ssl.conf;

    client_max_body_size 0;

    # enable for ldap auth, fill in ldap details in ldap.conf
    #include /config/nginx/ldap.conf;
    proxy_buffering off;
    location / {
        # enable the next two lines for http auth
        #auth_basic "Restricted";
        #auth_basic_user_file /config/nginx/.htpasswd;

        # enable the next two lines for ldap auth
        #auth_request /auth;
        #error_page 401 =200 /login;

        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_app 10.10.1.11;
        set $upstream_port 8123;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;

    }

    location /api/websocket {
        resolver 127.0.0.11 valid=30s;
        set $upstream_app 10.10.1.11;
        set $upstream_port 8123;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port/api/websocket;

        proxy_set_header Host $host;

        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}

and proxy.conf (included above):

## Version 2019/10/23 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/proxy.conf

client_body_buffer_size 128k;

#Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;

# Advanced Proxy Config
send_timeout 5m;
proxy_read_timeout 240;
proxy_send_timeout 240;
proxy_connect_timeout 240;

# TLS 1.3 early data
proxy_set_header Early-Data $ssl_early_data;

# Basic Proxy Config
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Ssl on;
proxy_redirect  http://  $scheme://;
proxy_http_version 1.1;
proxy_set_header Connection "";
#proxy_cookie_path / "/; HTTPOnly; Secure"; # enable at your own risk, may break certain apps
proxy_cache_bypass $cookie_session;
proxy_no_cache $cookie_session;
proxy_buffers 32 4k;
proxy_headers_hash_bucket_size 128;
proxy_headers_hash_max_size 1024;

When im trying to open terminal im getting the following error:
WebSocket connection to

'wss://home.xxx.uk/api/hassio_ingress/LfJMYE6iEKd0XAQvsGEyMc8dekUWucacUoXmVKKWLG0/ws' failed: Error during WebSocket handshake: Unexpected response code: 404
openTerminal @ (index):1

When im opening VSCode:

Uncaught Error: WebSocket close with status code 1006

Error: WebSocket close with status code 1006
    at WebSocket.<anonymous> (browserSocketFactory.ts:129)
errors.ts:26 Uncaught Error: Unable to read file 'vscode-remote://home.xxx.uk/config/.vscode/tasks.json' (Error: WebSocket close with status code 1006)

Error: Unable to read file 'vscode-remote://home.xxx.uk/config/.vscode/tasks.json' (Error: WebSocket close with status code 1006)
    at _.doReadAsFileStream (fileService.ts:457)
    at errors.ts:26