{"id":13558760,"url":"https://github.com/dokku/dokku-redirect","last_synced_at":"2025-04-03T13:31:56.134Z","repository":{"id":2546979,"uuid":"44500334","full_name":"dokku/dokku-redirect","owner":"dokku","description":"A plugin for dokku that gives the ability to set simple redirects for an application","archived":false,"fork":false,"pushed_at":"2023-08-20T15:31:28.000Z","size":46,"stargazers_count":107,"open_issues_count":3,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-30T00:56:04.508Z","etag":null,"topics":["dokku","dokku-plugin","nginx","paas","redirect"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/dokku.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},"funding":{"github":"dokku","open_collective":"dokku","patreon":"dokku"}},"created_at":"2015-10-18T23:06:51.000Z","updated_at":"2024-10-02T15:20:12.000Z","dependencies_parsed_at":"2023-07-05T19:02:44.935Z","dependency_job_id":"6697b86e-0bf2-4805-9ace-43906a8fd1aa","html_url":"https://github.com/dokku/dokku-redirect","commit_stats":{"total_commits":43,"total_committers":7,"mean_commits":6.142857142857143,"dds":0.4418604651162791,"last_synced_commit":"345be9df70451541196564cf6b0d0a2feed0eed8"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fdokku-redirect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fdokku-redirect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fdokku-redirect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dokku%2Fdokku-redirect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dokku","download_url":"https://codeload.github.com/dokku/dokku-redirect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457967,"owners_count":20780676,"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":["dokku","dokku-plugin","nginx","paas","redirect"],"created_at":"2024-08-01T12:05:08.406Z","updated_at":"2025-04-03T13:31:56.105Z","avatar_url":"https://github.com/dokku.png","language":"Shell","funding_links":["https://github.com/sponsors/dokku","https://opencollective.com/dokku","https://patreon.com/dokku"],"categories":["Shell","others"],"sub_categories":[],"readme":"# dokku-redirect\n\ndokku-redirect is a plugin for [dokku][dokku] that gives the ability to set simple redirects for an application.\n\nThis plugin only redirects one domain to another and does not handle complete URLs. If source domain is managed by dokku and is TLS enabled, then nginx configuration for https redirects will be handled automatically.\n\n## Installation\n\n```sh\n# dokku 0.11+\n$ dokku plugin:install https://github.com/dokku/dokku-redirect.git\n```\n\n## Commands\n\n```\n$ dokku help\n    redirect \u003capp\u003e                           Display the redirects set on app\n    redirect:set \u003capp\u003e \u003csrc\u003e \u003cdest\u003e [\u003ccode\u003e] Set a redirect from \u003csrc\u003e domain to \u003cdest\u003e domain\n    redirect:unset \u003capp\u003e \u003csrc\u003e               Unset a redirect from \u003csource\u003e\n```\n\n## Redirect Codes\n\n| Code | Name               | Behavior                                           |\n| ---- | ------------------ | -------------------------------------------------- |\n| 301  | Moved Permanently  | __(Default)__ Permanent, preserves method          |\n| 302  | Found              | Temporary, may change method to GET                |\n| 303  | See Other          | (HTTP/1.1) Temporary, changes method to GET        |\n| 307  | Temporary Redirect | (HTTP/1.1) Temporary, preserves method             |\n\n## Usage\n\nCheck redirects on my-app\n```shell\n$ dokku redirect my-app\n\nSOURCE       DESTINATION      CODE\nma.dokku.me  my-app.dokku.me  301\n```\n\nSet a new redirect on my-app\n```shell\n$ dokku redirect:set my-app ma.dokku.me my-app.dokku.me\n\n-----\u003e Setting redirect for my-app...\n       done\n```\n\nRedirects will include all app-specific nginx include files.\n\nUnset an existing redirect\n```shell\n$ dokku redirect:unset my-app ma.dokku.me\n\n-----\u003e Unsetting redirect for my-app...\n       done\n```\n\n## License\n\nThis plugin is released under the MIT license. See the file [LICENSE](LICENSE).\n\n[dokku]: https://github.com/progrium/dokku\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokku%2Fdokku-redirect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdokku%2Fdokku-redirect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdokku%2Fdokku-redirect/lists"}