Keep Shiny landing-page url as simple domain name

hi,

I have a Shiny app deployed with shinyproxy and working on https://mydomain.com
My issue is that whenever someone goes to https://mydomain.com it directs well to the shiny app but then it adds additionnal info to the url such as mydomain.com/app/docker_general which basically are my folder and my docker image.
How can I just display simply the url https://mydomain.com without anything after it?
I was told this can be dealt in the nginx.conf but I don’t really know where exactly.
Thanks a lot!

M.

I just figured this out myself! In your shiny.conf file, under the location block, where it says

proxy_pass http://localhost:8080/;

instead make it

proxy_pass http://localhost:8080/app/docker_general/;

or whatever you want to be the landing page of your app. Then, when you go to your domain, it will no longer add that additional info to the url.

At least this worked for me.