Multiple domains, array value for publicurl

My wife hates typing “vikunja…” and asked if we can just call it “vike”. I’m self hosted, so in config.yml I just changed “publicurl” value to an array:

publicurl:

and to my pleasant surprise, both hostnames now work fine! (With DNS CNAME created, obviously).

As expected, most data & preferences are the same regardless of login domain.

However, I noticed that the “Last Visited” projects list was different under the new hostname; after a bit I realized it was cleared upon each logout. But now I’m unsure whether that was always the case??? I use the “Stay Logged In” and realized that I basically never log out. I had assumed the Last Visited info was persistent across sessions…?

So my Question… are the Last Visited project cards relevant only to the current login session by design?

Anyway, I continue to love Vikunja, much more usable than commercial offerings! Thanks for listening!

Hey :waving_hand:

Using multiple urls is not officially supported. It’s interesting that you got it somewhat working by just switching to an array.

What about adding a redirect in your proxy?

I wondered if it might be the case that this wasn’t official/intentional.

At this point, I don’t have a proxy in front of it. (I had a cloud server I was about to destroy, then thought I’d try Vikunja on it first, so did a minimal setup. Fell in love w/ Vikunja immediately, still running on the temporary setup…)

Sorry I can’t really investigate much at this time… all I did was was create a Vikunja service (on ubuntu) per instructions, set “interface: 80” and used the existing pgsql instance on that machine. Been flawless ever since :100:.

I’ll let you know if I have any updates; I’m going to leave publicurl multi-valued until/unless it creates problems. I like “vikunja”; my wife likes “vike” :wink: