{"id":20063602,"url":"https://github.com/julienlavocat/dynamicreverseproxy","last_synced_at":"2025-05-05T17:33:03.621Z","repository":{"id":98553000,"uuid":"166674968","full_name":"JulienLavocat/DynamicReverseProxy","owner":"JulienLavocat","description":"NodeJS Dynamic reverse proxy","archived":true,"fork":false,"pushed_at":"2019-01-20T19:08:33.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T10:31:43.587Z","etag":null,"topics":["js","nginx","nodejs","proxy-server","reverse-proxy"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/JulienLavocat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-20T15:10:22.000Z","updated_at":"2024-08-20T08:46:50.000Z","dependencies_parsed_at":"2023-03-14T05:00:40.498Z","dependency_job_id":null,"html_url":"https://github.com/JulienLavocat/DynamicReverseProxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienLavocat%2FDynamicReverseProxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienLavocat%2FDynamicReverseProxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienLavocat%2FDynamicReverseProxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienLavocat%2FDynamicReverseProxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JulienLavocat","download_url":"https://codeload.github.com/JulienLavocat/DynamicReverseProxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252542465,"owners_count":21764975,"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":["js","nginx","nodejs","proxy-server","reverse-proxy"],"created_at":"2024-11-13T13:43:01.877Z","updated_at":"2025-05-05T17:33:03.611Z","avatar_url":"https://github.com/JulienLavocat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DynamicReverseProxy\n\nDynamicReverseProxy (DRP) is a simple NodeJS reverse proxy which works like a normal reverse proxy, except that you don't need to configure each subdomain.\n\nDRP let you create a subdomain per customer, project, anything you want by simply making an API call.\n\n## Usage\n\n### DRP Setup\n\n1) Download and install Redis (https://redis.io/download)\n\n2) Edit DRP's config (config.json)\n\n3) Start DRP using: `node app.js`\n\n  \n\n### Subdomains registration\n\n1) Create a new DNS record with a wildcard as subdomain like this `*.exemple.com` and point it where DynamicReverseProxy is listening\n\n2) To register a new subdomain use this endpoint:\n\n```\nPOST - /drp/routes\n{\"source\":\"publicly.accessible.domain\", \"target\":\"http://another-service.internal:8000\"}\n```\n\n3) If you want to modify a route, just post it again with the new target\n\n3) If you want to delete a route, just call:\n\n`DELETE - /drp/routes/:domain`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulienlavocat%2Fdynamicreverseproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulienlavocat%2Fdynamicreverseproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulienlavocat%2Fdynamicreverseproxy/lists"}