{"id":21995222,"url":"https://github.com/aravinth2094/goginx","last_synced_at":"2026-04-18T17:03:45.968Z","repository":{"id":38297175,"uuid":"407569408","full_name":"aravinth2094/goginx","owner":"aravinth2094","description":"A simpler version of Nginx, BUT MORE","archived":false,"fork":false,"pushed_at":"2023-03-07T02:34:17.000Z","size":143,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T04:17:31.888Z","etag":null,"topics":["discovery","discovery-service","eureka","gin","go","goginx","golang","nginx","proxy","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/aravinth2094.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":"2021-09-17T14:23:22.000Z","updated_at":"2023-05-06T09:11:39.000Z","dependencies_parsed_at":"2024-06-21T02:06:44.654Z","dependency_job_id":null,"html_url":"https://github.com/aravinth2094/goginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aravinth2094/goginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravinth2094%2Fgoginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravinth2094%2Fgoginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravinth2094%2Fgoginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravinth2094%2Fgoginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aravinth2094","download_url":"https://codeload.github.com/aravinth2094/goginx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aravinth2094%2Fgoginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"last_error":"SSL_read: 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":["discovery","discovery-service","eureka","gin","go","goginx","golang","nginx","proxy","reverse-proxy"],"created_at":"2024-11-29T21:13:19.586Z","updated_at":"2026-04-18T17:03:45.953Z","avatar_url":"https://github.com/aravinth2094.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Actions Status](https://github.com/aravinth2094/goginx/workflows/Go%20Build/badge.svg)](https://github.com/aravinth2094/goginx/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/aravinth2094/goginx)](https://goreportcard.com/report/github.com/aravinth2094/goginx)\n# Goginx\nA simpler version of Nginx, BUT MORE.\n\n## Features\n* Upstreams\n* Discovery Server (```POST /discovery { service, host, port }```)\n* Custom HTTP Headers\n* File Server\n* Whitelist\n* Compression\n* CORS\n* Secure HTTP Headers\n* Remote configuration file\n* Timeout\n* Cache\n* Logging\n\n## Installation\n* Install golang\n* Install goreleaser\n* Install make\n```shell\ngo get\nmake build\n```\n\n## Goginx Configuration\nRun using\n```shell\ngoginx -c config.json\n```\n```shell\ngoginx -c https://\u003cfileuploadserver.io\u003e/config.json\n```\nor if you have ```goginx.json``` in the current directory\n```shell\ngoginx\n```\nHelp Menu\n```shell\nUsage of goginx:\n  -V    Validate configuration file\n  -c string\n        Goginx configuration file location (default \"goginx.json\")\n  -h    Print this help\n```\nBasic Sample goginx.json file\n```json\n{\n    \"routes\" : [\n        {\n            \"path\" : \"/search\",\n            \"forwardUrl\" : \"https://httpbin.org/anything\",\n            \"allowedMethods\": [ \"GET\", \"POST\" ]\n        }\n    ]\n}\n```\n\nAdvanced Sample goginx.json file\n```json\n{\n    \"listen\" : \":443\",\n    \"certificate\" : \"cert.pem\",\n    \"key\" : \"key.pem\",\n    \"log\" : \"goginx.log\",\n    \"whitelist\": [\n        \"127.0.0.1\",\n        \"192.168.1.0/24\"\n    ],\n    \"compression\" : true,\n    \"upstreams\" : {\n        \"httpbin\" : [\n            \"https://httpbin.org\"\n        ]\n    },\n    \"discovery\" : true,\n    \"routes\" : [\n        {\n            \"path\" : \"/search\",\n            \"forwardUrl\" : \"httpbin:/anything\",\n            \"allowedMethods\": [ \"GET\", \"POST\" ],\n            \"forwardIp\": true,\n            \"appendPath\": false,\n            \"customHeaders\" : {\n                \"X-Custom-Header1\" : \"Custom-Header1-Value\",\n                \"X-Custom-Header2\" : \"Custom-Header2-Value\"\n            },\n            \"secureHeaders\" : true,\n            \"cors\" : {\n                \"origin\" : \"*\",\n                \"methods\" : \"GET, POST\",\n                \"credentials\": true,\n                \"maxAge\": \"86400\",\n                \"allowedHeaders\": \"Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization\",\n                \"cacheControl\": \"no-cache\",\n                \"vary\": \"Accept-Encoding\"\n            },\n            \"cache\" : 60,\n            \"timeout\" : 5000\n        },\n        {\n            \"path\" : \"/downloads\",\n            \"forwardUrl\" : \"file://dist\"\n        }\n    ]\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faravinth2094%2Fgoginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faravinth2094%2Fgoginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faravinth2094%2Fgoginx/lists"}