Redirecting domain created in Yunohost to IP:Port on same machine

Discuss

Dear all.
I have created a domain in yunohost (nohost) with a Let’s Encrypt certificate.
Then I added a subdomain to it, with same encryption.

Since Geoserver is not available in Yunohost I have installed manually and it is currently running on a Tomcat server.

What I would like to achieve is having my subdomain created in Yunohost admin to redirect to that address (ttp://40.40.40.40:8080) thus having SSL with Let’s Encrypt.

I think I have to manually edit the nginx config files but I am lost. Can someone help? Thanks!

Managed to do it with the “Redirect” app!

1 Like