TileDesk Redirects to 8081

TileDesk Redirects to 8081

https is redirecting to :8081/dashboard.

Here is nginx configure

location / {
proxy_pass_header Authorization;
proxy_pass http://$upstream;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection “upgrade”;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on; # Optional

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
set $upstream;

I have nginx in host machine and I want to use it along with SSL. How can I do it?

Have you seen this link ? tiledesk/README.md at master · Tiledesk/tiledesk · GitHub