Host static webpage on main login domain

Hello,

my yunohost installation is running very fine. with some additional docker images and redirect package and static web side on sub domain tried. no problem at all.

i need some help – my goal is to host a static web side on the main yunohost / login domain.

all apps are in domain/apps/…
yunohost login is at domain/yunohost/sso/

  1. i want to change yunohost login to domain/app/yunohost/sso/
    but i need to change sowat package?

  2. i want to host my static web page at domain/ except domain/app/

i could configure nginx and ssowat to go to login page only, if i select doamain path domain/app/sso/

if i not select path /domain/app i will have my static webside e.g. hugo generated.

i stuck on configuring the yunohost login path.
i need some help for nginx configuration.

i am posting this, cause it could be interesting for others too?

thanks

Could you elaborate on what you have accomplished and how? I’m currently testing Yunohost a bit, to see if it is fit for my needs.

I also want to host some static html on a bare domain, and I’d like to do that in a non-intrusive fashion, tweaking Yunohost as little as possible.

I tried the the Custom webapp application, but it likes to host things on domain.example/site/path, and then (http-) redirect domain.example to that. So the URL in the browser is https://domain.example/site. I prefer https://domain.example as the root URL of my site.

But perhaps customizing the Custom webapp could be the way forward, instead of tweaking Yunohosts base nginx configs.

Have anybody done this?

This could be a solution:

On the webadmin:

Applications -> Your installed app -> Make default

1 Like

Is there a possibility, while setting up a custom web app as default entry point, not to redirect the whole URL with subfolders of the app? Instead of making a Custom Web App with subdirectory /blog for example redirecting to the default entrance of the web-domain, which would direct everybody who is visiting my page redirect to /blog, I would like to have a custom web app with my url without subfolders as my main URL after redirecting with the Redirection plugin. Is that possible?

With other words:
I would like to redirect everybody who is visiting my domain to my custom web app. And the domain should remain my main domain without any subfolders and stuff.