Custom url for public app
Hey, we are creating some public apps using windmill and would like to assign a custom url to these pages.
For example, I want a user to be able to browse to windmill.company.com/my_app and be shown my page, without them seeing a redirect to /public/foo/bar in their browser. This would make it way easier for them to bookmark stuff.
Is this possible through the caddy files? We couldn't get it to work.
2 Replies
have you tried with this: https://caddyserver.com/docs/caddyfile/directives/redir
fyi we plan on adding custom app public urls directly in windmill, which would allow urls like windmill.company.com/a/mycustompath
redir (Caddyfile directive) - Caddy Documentation
Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
Yes, we are using redir atm, but that one does show the redirect to the user. Would be better if we could just forward in such a way that the user does not notice. Mainly to make it easier to bookmark, but also to make it look cleaner than the long public url's.
The second part is very interesting. Being able to do this directly in windmill would be amazing 🤩