{"id":17059961,"url":"https://github.com/nisaacson/secure-proxy","last_synced_at":"2025-03-23T07:45:22.524Z","repository":{"id":9314125,"uuid":"11155624","full_name":"nisaacson/secure-proxy","owner":"nisaacson","description":"Forward all https requests to a router service","archived":false,"fork":false,"pushed_at":"2013-07-03T23:28:33.000Z","size":1636,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T14:44:18.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nisaacson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-03T16:23:53.000Z","updated_at":"2013-09-29T05:30:53.000Z","dependencies_parsed_at":"2022-07-31T15:39:16.249Z","dependency_job_id":null,"html_url":"https://github.com/nisaacson/secure-proxy","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/nisaacson%2Fsecure-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Fsecure-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Fsecure-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisaacson%2Fsecure-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nisaacson","download_url":"https://codeload.github.com/nisaacson/secure-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245072252,"owners_count":20556353,"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-14T10:35:50.117Z","updated_at":"2025-03-23T07:45:22.496Z","avatar_url":"https://github.com/nisaacson.png","language":"JavaScript","readme":"# Secure Proxy\nTLS terminator that takes all https requests, strips of the tls, and forwards the request over http to a router service\n\n\n# Installation\n\nClone the repository. In the root directory of the repository, execute the following\n\n```bash\nnode secure-proxy.js --config test/config.json\n```\n\nThis will start the secure proxy server using a self-signed certificate. The `test/config.json` settings will make the secure proxy server forward all traffic to a router server at\n\n* host: localhost\n* port: 4000\n\n\n\n# Configuration\nA `/path/to/config.json` file path can be supplied as a --config argument when running the *secure-proxy.js* file\n\n`config.json` should contain at least the following\n\n```javascript\n{\n  \"application\": {\n    \"router\": {\n      \"host\": \"127.0.0.1\",\n      \"port\": 4000\n    }\n  },\n  \"tls\": {\n    \"keyFilePath\": \"/path/to/key.pem\",\n    \"certFilePath\": \"/path/to/cert.pem\"\n  }\n}\n```\n\n\nYou can also specify the configuration options as command line paramters\n\n```bash\nnode secure-proxy.json --application:router:host=\"127.0.0.1\" --application:router:port=4000 --tls:keyFilePath=\"/path/to/key.pem\" --tls:certFilePath=\"/path/to/cert.pem\" --tls:port=443\n```\n\n\n# Logging\n\nBy default the secure proxy will log to the console. If you wish to send your log data to [loggly](https://loggly.com), specify a loggly input token in your `config.json` file\n\n```javascript\n{\n  \"loggly\": {\n    \"inputToken\": \"loggly input token here\"\n  },\n  \"application\": {\n    \"router\": {\n      \"host\": \"127.0.0.1\",\n      \"port\": 4000\n    }\n  },\n  \"tls\": {\n    \"keyFilePath\": \"/path/to/key.pem\",\n    \"certFilePath\": \"/path/to/cert.pem\"\n  }\n}\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisaacson%2Fsecure-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnisaacson%2Fsecure-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisaacson%2Fsecure-proxy/lists"}