{"id":25367966,"url":"https://github.com/tdiblik/corsproxy","last_synced_at":"2026-04-26T22:31:47.394Z","repository":{"id":275924670,"uuid":"927604432","full_name":"TDiblik/corsproxy","owner":"TDiblik","description":"Dockerized cors proxy using nginx. Meant for local development.","archived":false,"fork":false,"pushed_at":"2025-02-05T09:42:07.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T05:44:17.773Z","etag":null,"topics":["cors-proxy","docker","nginx"],"latest_commit_sha":null,"homepage":"","language":null,"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/TDiblik.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":"2025-02-05T08:31:12.000Z","updated_at":"2025-02-05T09:42:10.000Z","dependencies_parsed_at":"2025-02-05T10:34:10.123Z","dependency_job_id":"0805938e-1e9e-4299-b4e5-aebc2919c304","html_url":"https://github.com/TDiblik/corsproxy","commit_stats":null,"previous_names":["tdiblik/corsproxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDiblik%2Fcorsproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDiblik%2Fcorsproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDiblik%2Fcorsproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TDiblik%2Fcorsproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TDiblik","download_url":"https://codeload.github.com/TDiblik/corsproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987105,"owners_count":21028891,"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":["cors-proxy","docker","nginx"],"created_at":"2025-02-15T00:23:50.541Z","updated_at":"2026-04-26T22:31:47.366Z","avatar_url":"https://github.com/TDiblik.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Dockerized cors proxy using nginx.\n\nMeant for local development.\n\nProxy port is `1337`, if you don't like that, replace it using `search \u0026 replace` across this codebase.\n\nWhenever you call `http://localhost:1337`, the call will get proxied to `http://${CORS_TARGET}:${CORS_TARGET_PORT}`\n\n### Run using docker compose:\n\n- Change ENV variables inside `docker-compose.yml`\n- Run `docker compose up -d`\n\n### Run without docker compose:\n\n```\ndocker run \\\n  --name corsproxy \\\n  --hostname corsproxy \\\n  --restart no \\\n  --network bridge \\\n  -p 1337:80 \\\n  -e NGINX_PORT=80 \\\n  -e CORS_TARGET=host.docker.internal \\\n  -e CORS_TARGET_PORT=8080 \\\n  -v \"$(pwd)/default.conf.template:/etc/nginx/templates/default.conf.template:ro\" \\\n  --add-host host.docker.internal:host-gateway \\\n  nginx:1.27-alpine \\\n  nginx-debug -g \"daemon off;\"\n```\n\n### Notes\n\n- Right now the proxy is pinned to `nginx:1.27-alpine` because it works as expected. If you'd like to experiment, feel free to bump it up. I occasionally bump the version and fix potentional issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdiblik%2Fcorsproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdiblik%2Fcorsproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdiblik%2Fcorsproxy/lists"}