#Url Redirect for NABOX

1 messages · Page 1 of 1 (latest)

steady kernel
#

Hello, we have a use case in which the nabox will have a global name to which the SSL certificate will be created and that will automatically point to the hostname of our nabox(note: we are running the latest version of nabox with Prometheus).
My requirement is to redirect to https://naboxname/grafana/login instead of the global name landing on https://naboxname/login.
Found that traefik is handling the webserver proxy configuration. I tried to go into the container were traefik is running from but couldn’t find the toml or yaml file to make any edits. Just found a binary file under /usr/local/bin/traefik and a yaml file under ssl folder which isn’t what I want.
Can I do what I am intending to do? If so please advice how do I achieve this? Thanks in advance.

rocky lion
#

@jolly goblet

tame kindle
#

hi @steady kernel until @jolly goblet gets a chance to reply, take a look at /usr/local/nabox/docker-compose/docker-compose.yaml I believe labels are being used there to setup traefik routes

jolly goblet
#

Indeed the routes are handled in container labels. I’m not sure there is an easy way for what you want to do without a change in the code, I’m aware that’s a popular request, I’m thinking about adding an option to default to grafana in /