{"id":19320343,"url":"https://github.com/jlyonsmith/nginx-build-fproxy","last_synced_at":"2026-04-17T13:04:12.852Z","repository":{"id":143313350,"uuid":"164965506","full_name":"jlyonsmith/nginx-build-fproxy","owner":"jlyonsmith","description":"Build NGINX for use as a forward proxy","archived":false,"fork":false,"pushed_at":"2019-01-10T21:43:36.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T15:08:24.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jlyonsmith.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":"2019-01-10T01:17:40.000Z","updated_at":"2019-01-10T21:43:37.000Z","dependencies_parsed_at":"2023-05-13T03:00:39.964Z","dependency_job_id":null,"html_url":"https://github.com/jlyonsmith/nginx-build-fproxy","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/jlyonsmith%2Fnginx-build-fproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fnginx-build-fproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fnginx-build-fproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlyonsmith%2Fnginx-build-fproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlyonsmith","download_url":"https://codeload.github.com/jlyonsmith/nginx-build-fproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240421620,"owners_count":19798602,"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-11-10T01:28:22.003Z","updated_at":"2026-04-17T13:04:12.818Z","avatar_url":"https://github.com/jlyonsmith.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `nginx` Forward Proxy Build Script\n\nThis is a build script for creating a version of `nginx` that can be used as a forward HTTPS and SSH proxy. It incorporates [chobits/ngx_http_proxy_connect_module](https://github.com/chobits/ngx_http_proxy_connect_module.git) on an Ubuntu machine.\n\nWe build to `/usr/sbin`, so this script is not intended for running simultaneously with an `apt` installed version of `nginx`.\n\n## Usage\n\nNOTE: Always review downloaded scripts before executing.\n\n### Installation \u0026 Upgrade\n\n1. `sudo mkdir /usr/local/src/nginx/`\n2. `cd /usr/local/src/nginx/`\n3. `sudo rm /usr/local/src/nginx/nginx-build-fproxy.sh`\n4. `sudo curl -L https://raw.githubusercontent.com/jlyonsmith/nginx-build-fproxy/master/build-nginx-fproxy.sh -o build-nginx-fproxy.sh`\n5. `sudo chmod +x build-nginx-fproxy.sh`\n6. `sudo kill -QUIT $( cat /var/run/nginx.pid )`\n7. `sudo ./build-nginx-fproxy.sh`\n8. `sudo nginx`\n\n## Acknowledgments\n\nThe script was originally based on the [build-nginx.sh](https://gist.github.com/MattWilcox/402e2e8aa2e1c132ee24) script from [@MatthewVance](https://github.com/MatthewVance), but revised to create `nginx` as a forward proxy.\n\n## License\n\nUnless otherwise specified, all code is released under the MIT License (MIT). See the [repository's `LICENSE` file](https://github.com/jlyonsmith/nginx-build/blob/master/LICENSE) for details.\n\n## References\n\n- [How to Build Nginx from Source](https://www.howtoforge.com/tutorial/how-to-build-nginx-from-source-on-ubuntu-1804-lts/)\n- [Running SSL and Non-SSL Protocols Over the Same Port](https://www.nginx.com/blog/running-non-ssl-protocols-over-ssl-port-nginx-1-15-2/)\n- [Nginx ngx_stream_core_module](https://nginx.org/en/docs/stream/ngx_stream_core_module.html#resolver)\n- [TCP Load Balancing with Nginx](https://serversforhackers.com/c/tcp-load-balancing-with-nginx-ssl-pass-thru)\n- [SSH Proxy Command Example](https://www.cyberciti.biz/faq/linux-unix-ssh-proxycommand-passing-through-one-host-gateway-server/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlyonsmith%2Fnginx-build-fproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlyonsmith%2Fnginx-build-fproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlyonsmith%2Fnginx-build-fproxy/lists"}