{"id":18622072,"url":"https://github.com/caprover/nginx-redirect","last_synced_at":"2025-04-11T03:31:07.244Z","repository":{"id":42710155,"uuid":"276372016","full_name":"caprover/nginx-redirect","owner":"caprover","description":"A very simple redirector using nginx and Docker","archived":false,"fork":false,"pushed_at":"2024-03-31T15:38:52.000Z","size":7,"stargazers_count":11,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T08:42:21.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/caprover.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-07-01T12:29:17.000Z","updated_at":"2024-09-13T14:07:35.000Z","dependencies_parsed_at":"2022-08-29T13:51:13.938Z","dependency_job_id":null,"html_url":"https://github.com/caprover/nginx-redirect","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/caprover%2Fnginx-redirect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caprover%2Fnginx-redirect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caprover%2Fnginx-redirect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caprover%2Fnginx-redirect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caprover","download_url":"https://codeload.github.com/caprover/nginx-redirect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248335409,"owners_count":21086587,"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":[],"created_at":"2024-11-07T04:15:17.169Z","updated_at":"2025-04-11T03:31:06.942Z","avatar_url":"https://github.com/caprover.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nginx-redirect\nA very simple redirector using nginx and Docker\n\n```\ndocker run -p 1234:80 --env RETURN_LOCATION='return 301 https://caprover.com$request_uri;' caprover/nginx-redirect\n```\n\n\nOpen `http://localhost:1234` in your browser.\n\n\n\nThis is available as a CapRover one click app. It's useful when you want to create domain aliases. For example you want all traffic from `http(s)://www.example.com` to be redirected to `https://example.com`. In this case:\n- Create an \"Nginx Redirect\" one click app and enter `https://example.com` as your redirect URL.\n- Once the app is deployed, go to your panel and connect `www.example.com` to this app.\n- You can connect more domains if you want to, such as `www2.example.com` and etc.\n- Enable HTTPS for any (or all) of these added domains if needed.\n- You are done! Now navigating to any of these connected addresses should redirect the user to `https://example.com`\n- You can connect `example.com` to your actual app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaprover%2Fnginx-redirect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaprover%2Fnginx-redirect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaprover%2Fnginx-redirect/lists"}