Nginx does not reroute landing page to port 80

Hi. I am also having issues with ShinyProxy and Nginx.
The behavior is somewhat funny since I can access the shiny app if I type into the server 127.0.0.1/login, but nothing is being loaded if I specify just the landing page as 127.0.0.1
How to fix that so that I get landing page (my machine ip) working?

This is nginx configuration I am using:

server {
        listen 80 default_server;
        listen [::]:80 default_server;

        server_name _;

        location / {
            proxy_pass          http://127.0.0.1:8080/;

            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
            proxy_read_timeout 600s;

            proxy_redirect    off;
            proxy_set_header  Host             $http_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-Protocol $scheme;
        }
}

ufw status:

image

Update: I found that everything works properly after login - I can type 127.0.0.1 and get to the app.
But without login the base address (ip address) does not redirect to login page as I posted in the original message.
I do not think this is a normal behavior. At least it did not behave this way without Nginx

NVM. Everything works now even after logging out I get redirected to ip/login page. Will try on other clients