Home
Softono

Traefik Plugin Waeb

Open source MIT Go
27
Stars
0
Forks
1
Issues
2
Watchers
3 years
Last Commit

 About Traefik Plugin Waeb

A web server for Traefik

Platforms

Web Self-hosted

Languages

Go

Need Help Installing Traefik Plugin Waeb?

We provide expert installation service for this software. Our team will install, configure, and secure Traefik Plugin Waeb on your server. plans start at just $30.

Traefik Plugin Waeb

View on GitHub

Waeb

Build Status

Make Traefik a web server !

This is a plugin for Traefik to build a web server as a middleware.

Not the plugin we deserved, but the plugin we needed.

~ @mpl (src)

Just because you can, doesn't mean you should

~ @dtomcej (src)

Usage

Configuration

Here is an example of a file provider dynamic configuration (given here in YAML), where the interesting part is the http.middlewares section:

# Dynamic configuration

http:
  routers:
    my-waeb-router:
      rule: host(`waeb.localhost`)
      service: noop@internal # required
      middlewares:
        - traefik-plugin-waeb

  middlewares:
    traefik-plugin-waeb:
      plugin:
        traefik-plugin-waeb:
          root: "/var/www/html/"

root

The root parameter is the root directory of the web server.

Local test

There is a docker-compose.yml file to test the plugin locally:

docker-compose up -d

Then, you can go to http://waeb.localhost to see the result.