{"id":16408486,"url":"https://github.com/tommoulard/traefik-plugin-waeb","last_synced_at":"2025-03-23T05:31:29.915Z","repository":{"id":168244002,"uuid":"643817708","full_name":"tomMoulard/traefik-plugin-waeb","owner":"tomMoulard","description":"A web server for Traefik","archived":false,"fork":false,"pushed_at":"2023-07-25T09:48:47.000Z","size":99,"stargazers_count":26,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-15T23:41:38.453Z","etag":null,"topics":["traefik","traefik-plugin","web-server"],"latest_commit_sha":null,"homepage":"https://plugins.traefik.io/plugins/646b2816a8eb44f98ba6a325/waeb","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomMoulard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-22T08:12:05.000Z","updated_at":"2025-02-19T15:20:22.000Z","dependencies_parsed_at":"2024-10-28T15:27:17.330Z","dependency_job_id":"7a0b3971-49ec-4a3b-848e-fb852ad924e1","html_url":"https://github.com/tomMoulard/traefik-plugin-waeb","commit_stats":null,"previous_names":["tommoulard/traefik-plugin-waeb"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomMoulard%2Ftraefik-plugin-waeb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomMoulard%2Ftraefik-plugin-waeb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomMoulard%2Ftraefik-plugin-waeb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomMoulard%2Ftraefik-plugin-waeb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomMoulard","download_url":"https://codeload.github.com/tomMoulard/traefik-plugin-waeb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061382,"owners_count":20554563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["traefik","traefik-plugin","web-server"],"created_at":"2024-10-11T06:16:59.829Z","updated_at":"2025-03-23T05:31:29.908Z","avatar_url":"https://github.com/tomMoulard.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Waeb\n\n[![Build Status](https://github.com/tomMoulard/traefik-plugin-waeb/actions/workflows/main.yml/badge.svg)](https://github.com/tomMoulard/traefik-plugin-waeb/actions/workflows/main.yml)\n\nMake Traefik a web server !\n\nThis is a plugin for [Traefik](https://traefik.io) to build a **web server** as a middleware.\n\n\u003e Not the plugin we deserved, but the plugin we needed.\n\u003e \n\u003e ~ [@mpl](https://github.com/mpl) ([src](https://twitter.com/lejatorn/status/1661750793232617477))\n\n\u003e Just because you can, doesn't mean you should\n\u003e \n\u003e ~ [@dtomcej](https://github.com/dtomcej) ([src](https://twitter.com/daniel_tomcej/status/1661746210485723136))\n\n## Usage\n\n### Configuration\n\nHere is an example of a file provider dynamic configuration (given here in\nYAML), where the interesting part is the `http.middlewares` section:\n\n```yaml\n# Dynamic configuration\n\nhttp:\n  routers:\n    my-waeb-router:\n      rule: host(`waeb.localhost`)\n      service: noop@internal # required\n      middlewares:\n        - traefik-plugin-waeb\n\n  middlewares:\n    traefik-plugin-waeb:\n      plugin:\n        traefik-plugin-waeb:\n          root: \"/var/www/html/\"\n```\n\n#### `root`\n\nThe `root` parameter is the root directory of the web server.\n\n### Local test\n\nThere is a `docker-compose.yml` file to test the plugin locally:\n\n```bash\ndocker-compose up -d\n```\n\nThen, you can go to [http://waeb.localhost](http://waeb.localhost) to see the\nresult.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommoulard%2Ftraefik-plugin-waeb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftommoulard%2Ftraefik-plugin-waeb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftommoulard%2Ftraefik-plugin-waeb/lists"}