{"id":37174040,"url":"https://github.com/pierre-verhaeghe/traefik-replace-response-code","last_synced_at":"2026-01-14T20:20:19.766Z","repository":{"id":57548094,"uuid":"303732650","full_name":"pierre-verhaeghe/traefik-replace-response-code","owner":"pierre-verhaeghe","description":"Traefik plugin used to translate a http status code to another one","archived":false,"fork":false,"pushed_at":"2020-12-23T07:22:06.000Z","size":13,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T17:33:06.257Z","etag":null,"topics":["traefik-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pierre-verhaeghe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-13T14:36:50.000Z","updated_at":"2024-06-19T09:34:47.000Z","dependencies_parsed_at":"2022-09-26T18:41:09.043Z","dependency_job_id":null,"html_url":"https://github.com/pierre-verhaeghe/traefik-replace-response-code","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pierre-verhaeghe/traefik-replace-response-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-verhaeghe%2Ftraefik-replace-response-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-verhaeghe%2Ftraefik-replace-response-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-verhaeghe%2Ftraefik-replace-response-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-verhaeghe%2Ftraefik-replace-response-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierre-verhaeghe","download_url":"https://codeload.github.com/pierre-verhaeghe/traefik-replace-response-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierre-verhaeghe%2Ftraefik-replace-response-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-plugin"],"created_at":"2026-01-14T20:20:18.098Z","updated_at":"2026-01-14T20:20:19.746Z","avatar_url":"https://github.com/pierre-verhaeghe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# traefik-replace-response-code\nTraefik plugin used to replace a http response code. Can be useful for example to mask an internal error code with another status code.\n\n\n### Warning : still under test. Not yet ready for production.\n\n\n### Configuration\n\n\n\n```toml\n# Static configuration\n[pilot]\n    token = \"xxxx\"\n\n[experimental.plugins.replace]\n  modulename = \"github.com/pierre-verhaeghe/traefik-replace-response-code\"\n  version = \"v0.2.0\"\n#\n```\nremoveBody optional flag can be use to remove response body. By default removeBody is set to `false`.\n```yaml\n# Dynamic configuration\n\nhttp:\n  routers:\n    my-router:\n      rule: host(`demo.localhost`)\n      service: service-foo\n      entryPoints:\n        - web\n      middlewares:\n        - my-plugin\n\n  services:\n   service-foo:\n      loadBalancer:\n        servers:\n          - url: http://127.0.0.1:5000\n  \n  middlewares:\n    my-plugin:\n      plugin:\n        replace:\n          inputCode: 429\n          outputCode: 200\n          removeBody: true\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierre-verhaeghe%2Ftraefik-replace-response-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierre-verhaeghe%2Ftraefik-replace-response-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierre-verhaeghe%2Ftraefik-replace-response-code/lists"}