{"id":17248622,"url":"https://github.com/llgcode/httpredirect","last_synced_at":"2025-03-26T06:42:15.094Z","repository":{"id":26295115,"uuid":"29742922","full_name":"llgcode/httpredirect","owner":"llgcode","description":"Http Server written in Golang that make simple redirection. it support ssl, vhosts, simple serving files, http redirection","archived":false,"fork":false,"pushed_at":"2015-06-03T07:13:29.000Z","size":180,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T08:17:15.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/llgcode.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}},"created_at":"2015-01-23T17:04:11.000Z","updated_at":"2024-08-17T13:49:39.000Z","dependencies_parsed_at":"2022-08-27T09:11:35.813Z","dependency_job_id":null,"html_url":"https://github.com/llgcode/httpredirect","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/llgcode%2Fhttpredirect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llgcode%2Fhttpredirect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llgcode%2Fhttpredirect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/llgcode%2Fhttpredirect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/llgcode","download_url":"https://codeload.github.com/llgcode/httpredirect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605709,"owners_count":20643030,"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-10-15T06:41:43.505Z","updated_at":"2025-03-26T06:42:15.073Z","avatar_url":"https://github.com/llgcode.png","language":"Go","readme":"[![Build Status](https://drone.io/github.com/llgcode/httpredirect/status.png)](https://drone.io/github.com/llgcode/httpredirect/latest)\n# httpredirect \nHttp Server written in Golang that make simple redirection. \n\nit support ssl, vhosts, simple serving files, http redirection\n\n# Installation\n\n\nDownload the [latest executable](https://drone.io/github.com/llgcode/httpredirect/files) for your distribution.\n\nor from source, first install [golang](http://golang.org/doc/install) and then execute this command\n```\ngo install github.com/llgcode/httpredirect\n```\n\n# Run\n\n```\n$ httpredirect.exe --help\nUsage of httpredirect.exe:\n  -log=\"\": Define log file\n  -router=\"router.json\": Define router file\n  -sslCert=\"\": Path to certificate file\n  -sslKey=\"\": Path to key file\n```\n\n# router.json\n```json\n{\n \"Port\": 80,\n \"Redirections\": [\n   {\n       \"Path\": \"songbook.llgmusic.net/\",\n       \"URL\": \"http://127.0.0.1:8081/\"\n   }, \n   {\n       \"Path\": \"www.llgmusic.net/\",\n       \"URL\": \"http://127.0.0.1:8082/\"\n   }, \n   {\n       \"Path\": \"llgmusic.net/\",\n       \"URL\": \"http://127.0.0.1:8082/\"\n   },\n   {\n       \"Path\": \"/mywebapp/\",\n       \"URL\": \"/opt/mywebapp\"\n   }\n]\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllgcode%2Fhttpredirect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllgcode%2Fhttpredirect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllgcode%2Fhttpredirect/lists"}