{"id":18841982,"url":"https://github.com/ahmetozer/cors-proxy","last_synced_at":"2026-05-08T17:36:43.101Z","repository":{"id":136065536,"uuid":"290031699","full_name":"ahmetozer/cors-proxy","owner":"ahmetozer","description":"Proxy for cors requests. It is controls origins and proxy host. You can set hosts and origins over remote json file.","archived":false,"fork":false,"pushed_at":"2020-09-06T20:39:15.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-18T12:23:42.326Z","etag":null,"topics":["container","cors","cors-proxy","cors-requests","docker","https-proxy","node","proxy"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/ahmetozer/cors-proxy","language":"JavaScript","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/ahmetozer.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-24T20:21:54.000Z","updated_at":"2022-06-09T08:31:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d8dec3d-6f7c-4611-9c9b-1aec2a197f28","html_url":"https://github.com/ahmetozer/cors-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahmetozer/cors-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Fcors-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Fcors-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Fcors-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Fcors-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmetozer","download_url":"https://codeload.github.com/ahmetozer/cors-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetozer%2Fcors-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32790723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["container","cors","cors-proxy","cors-requests","docker","https-proxy","node","proxy"],"created_at":"2024-11-08T02:53:15.855Z","updated_at":"2026-05-08T17:36:43.045Z","avatar_url":"https://github.com/ahmetozer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cors Proxy\n\nThis is basic Proxy server for cors requests.\nIt has a build in self cert creator.  \nhttp and https request supported with custom port option.\n\nYou can load settings from remote url.\n\n```bash\ndocker run -d --rm -e configurl=\"https://gist.githubusercontent.com/ahmetozer/2d097b672b845115ccf67ddc36437703/raw/42a15aa0cef9b2d505be57fb229da865e6860403/testgist.json\" ahmetozer/cors-proxy\n```\n\nDefault config reload interval is setted to 60.  \nIf no request send to server, interval function is not triggered.  \nYou can change Config reload interval with `loadint` env variable.\n\n```bash\ndocker run -d --rm  -e loadint=\"10\" -e configurl=\"https://gist.githubusercontent.com/ahmetozer/2d097b672b845115ccf67ddc36437703/raw/42a15aa0cef9b2d505be57fb229da865e6860403/testgist.json\" ahmetozer/cors-proxy\n```\n\nIf you do not set config url, system will be allow all cross origins and request hosts.\n\n```bash\ndocker run -it --rm ahmetozer/cors-proxy\n```\n\nHttps server is use port 443 by default. To change define port variable.\n\n```bash\ndocker run -it --rm -e port=\"8443\" ahmetozer/cors-proxy\n```\n\nYou can use own ssl certs with this project.\nMount your certs into container.\n\n```bash\ndocker run -d --rm  -e loadint=\"10\" -e configurl=\"https://gist.githubusercontent.com/ahmetozer/2d097b672b845115ccf67ddc36437703/raw/42a15aa0cef9b2d505be57fb229da865e6860403/testgist.json\" \\\n-v /my/cert/location/cert.crt:/etc/ssl/certs/project.crt \\\n-v /my/cert/location/cert.key:/etc/ssl/private/project.key \\\nahmetozer/cors-proxy\n```\n\n## Json configuration\n\nMy recommend settings.\n\n```json\n{\n    \"origins\" : [\n        \"ahmetozer.org\",\n        \"apicors.ahmetozer.org\"\n    ],\n\n    \"hosts\" : [\n        \"hub.docker.com\"\n    ]\n}\n```\n\nOnly control host.\n\n```json\n{\n    \"origins\" : \"\",\n\n    \"hosts\" : [\n        \"hub.docker.com\"\n    ]\n}\n```\n\nOnly control origin.\n\n```json\n{\n    \"origins\" : [\n        \"ahmetozer.org\",\n        \"apicors.ahmetozer.org\"\n    ],\n\n    \"hosts\" : \"\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetozer%2Fcors-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetozer%2Fcors-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetozer%2Fcors-proxy/lists"}