{"id":20284514,"url":"https://github.com/artyom/leproxy","last_synced_at":"2025-04-11T08:25:00.660Z","repository":{"id":41203234,"uuid":"56686580","full_name":"artyom/leproxy","owner":"artyom","description":"https reverse proxy with automatic Letsencrypt usage for multiple hostnames/backends","archived":false,"fork":false,"pushed_at":"2023-10-10T17:34:16.000Z","size":34,"stargazers_count":100,"open_issues_count":3,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T05:52:54.668Z","etag":null,"topics":["go","golang","https-proxy","https-server","letsencrypt","reverse-proxy"],"latest_commit_sha":null,"homepage":"","language":"Go","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/artyom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-04-20T12:53:13.000Z","updated_at":"2025-03-06T01:03:42.000Z","dependencies_parsed_at":"2024-06-18T22:37:47.803Z","dependency_job_id":"988b2b6e-3e1e-4a27-b216-ab01f81499ad","html_url":"https://github.com/artyom/leproxy","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fleproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fleproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fleproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fleproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artyom","download_url":"https://codeload.github.com/artyom/leproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248361096,"owners_count":21090817,"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":["go","golang","https-proxy","https-server","letsencrypt","reverse-proxy"],"created_at":"2024-11-14T14:19:59.806Z","updated_at":"2025-04-11T08:25:00.635Z","avatar_url":"https://github.com/artyom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Command leproxy implements https reverse proxy with automatic Letsencrypt\nusage for multiple hostnames/backends\n\nInstall:\n\n\tgo install github.com/artyom/leproxy@latest\n\nRun:\n\n\tleproxy -addr :https -map /path/to/mapping.txt -cacheDir /path/to/letsencrypt\n\n`mapping.txt` contains host-to-backend mapping, where backend can be specified as:\n\n * http/https url for http(s) connections to backend *without* passing \"Host\"\n   header from request;\n * host:port for http over TCP connections to backend;\n * absolute path for http over unix socket connections;\n * @name for http over abstract unix socket connections (linux only);\n * absolute path with a trailing slash to serve files from a given directory.\n\nExample:\n\n\tsubdomain1.example.com: 127.0.0.1:8080\n\tsubdomain2.example.com: /var/run/http.socket\n\tsubdomain3.example.com: @abstractUnixSocket\n\tuploads.example.com: https://uploads-bucket.s3.amazonaws.com\n\t# this is a comment, it can only start on a new line\n\tstatic.example.com: /var/www/\n\nNote that when `@name` backend is specified, connection to abstract unix socket\nis made in a manner compatible with some other implementations like uWSGI, that\ncalculate addrlen including trailing zero byte despite [documentation not\nrequiring that](http://man7.org/linux/man-pages/man7/unix.7.html). It won't\nwork with other implementations that calculate addrlen differently (i.e. by\ntaking into account only `strlen(addr)` like Go, or even `UNIX_PATH_MAX`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fleproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartyom%2Fleproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fleproxy/lists"}