Creating landing page from http endpoints

Hi everyone,

I've been searching for a while now for a simple way to create a basic landing page directly from an HTTP endpoints using Traefik.

My goal is to have a specific path return a simple, static HTML page or even just a plain text message, without needing to spin up a dedicated web server container just for that. I've looked into various middleware options but haven't found a straightforward approach yet.

Is there a simple method to achieve this that I'm overlooking? Any suggestions would be greatly appreciated.

Thanks!

Traefik is a pure reverse proxy, not a web server. To serve a page, you need a separate web server like Apache HTTP Server, nginx or lighttpd.

Maybe you can (ab)use a plugin like maintenance-page to serve a single page for all requests of a router. But you can probably not even include any local linked resources like images or scripts.