{"id":15684590,"url":"https://github.com/varunsridharan/cpanel-apache-proxy","last_synced_at":"2025-05-07T18:09:16.742Z","repository":{"id":80544243,"uuid":"316923538","full_name":"varunsridharan/cpanel-apache-proxy","owner":"varunsridharan","description":"Simple Script To Handle Apache Reverse Proxy In cPanel","archived":false,"fork":false,"pushed_at":"2020-11-29T11:43:53.000Z","size":29,"stargazers_count":17,"open_issues_count":2,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-07T18:05:18.616Z","etag":null,"topics":["apache","apache-proxy","apache-reverse-proxy","apache2","cpanel","cpanel-api","proxy","reverse-proxy"],"latest_commit_sha":null,"homepage":"https://blog.svarun.dev/configure-reverse-proxy-in-cpanel","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/varunsridharan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-11-29T10:12:38.000Z","updated_at":"2025-03-06T00:46:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"bda0c0a6-5c26-425d-aa90-b05d7c19d24f","html_url":"https://github.com/varunsridharan/cpanel-apache-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"varunsridharan/.template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fcpanel-apache-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fcpanel-apache-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fcpanel-apache-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunsridharan%2Fcpanel-apache-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varunsridharan","download_url":"https://codeload.github.com/varunsridharan/cpanel-apache-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931533,"owners_count":21827111,"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":["apache","apache-proxy","apache-reverse-proxy","apache2","cpanel","cpanel-api","proxy","reverse-proxy"],"created_at":"2024-10-03T17:19:37.261Z","updated_at":"2025-05-07T18:09:16.675Z","avatar_url":"https://github.com/varunsridharan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Banner](https://cdn.svarun.dev/gh/varunsridharan/cpanel-apache-proxy/banner.jpg)\n\n# cPanel Apache Reverse Proxy\n\nThis repository contains a simple script which can be used to create a new reverse proxy in cPanel with Apache\n\n## Prerequisites\n1. cPanel Server\n2. Apache Modules\n    1. [`mod_proxy`] ___-- Required___\n    1. [`mod_proxy_http`] ___-- Required___\n    1. [`mod_proxy_connect`] ___-- Required___\n    3. [`mod_proxy_wstunnel`] _-- Optional. enable if you want to use WebSockets_\n\n\u003e Check out this tutorial on [Configure Reverse Proxy In cPanel](https://blog.svarun.dev/configure-reverse-proxy-in-cpanel)\n\n[`mod_proxy`]: http://httpd.apache.org/docs/current/mod/mod_proxy.html\n[`mod_proxy_http`]: https://httpd.apache.org/docs/2.4/mod/mod_proxy_http.html\n[`mod_proxy_connect`]: https://httpd.apache.org/docs/2.4/mod/mod_proxy_connect.html\n[`mod_proxy_wstunnel`]: https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html\n\n## 🚀 Usage\n\n### 1. Download The Proxy Script\n```shell\nwget https://raw.githubusercontent.com/varunsridharan/cpanel-apache-proxy/main/proxy.sh\n```\n\n\n### 2. Run To Create A New Proxy\n```shell\n# proxy.sh {account_username} {subdomain/domain} {local_proxy_path}\n\nproxy.sh \"cpanelAccountName\" \"plex.mydomain.com\" \"http://192.168.1.41:32000\"\n```\n\n### 3. Rebuild \u0026 Restart HTTP\n\n```\n/scripts/rebuildhttpdconf \u0026\u0026 service httpd restart\n```\n\n----\n\n\u003c!-- START common-footer.mustache --\u003e\n## 📝 Changelog\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),\nand this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\n[Checkout CHANGELOG.md](https://github.com/varunsridharan/cpanel-apache-proxy/blob/main/CHANGELOG.md)\n\n\n## 🤝 Contributing\nIf you would like to help, please take a look at the list of [issues](https://github.com/varunsridharan/cpanel-apache-proxy/issues/).\n\n\n## 📜  License \u0026 Conduct\n- [**GNU General Public License v3.0**](https://github.com/varunsridharan/cpanel-apache-proxy/blob/main/LICENSE) © [Varun Sridharan](website)\n- [Code of Conduct](https://github.com/varunsridharan/.github/blob/master/CODE_OF_CONDUCT.md)\n\n\n## 📣 Feedback\n- ⭐ This repository if this project helped you! :wink:\n- Create An [🔧 Issue](https://github.com/varunsridharan/cpanel-apache-proxy/issues/) if you need help / found a bug\n\n\n## 💰 Sponsor\n[I][twitter] fell in love with open-source in 2013 and there has been no looking back since! You can read more about me [here][website].\nIf you, or your company, use any of my projects or like what I’m doing, kindly consider backing me. I'm in this for the long run.\n\n- ☕ How about we get to know each other over coffee? Buy me a cup for just [**$9.99**][buymeacoffee]\n- ☕️☕️ How about buying me just 2 cups of coffee each month? You can do that for as little as [**$9.99**][buymeacoffee]\n- 🔰         We love bettering open-source projects. Support 1-hour of open-source maintenance for [**$24.99 one-time?**][paypal]\n- 🚀         Love open-source tools? Me too! How about supporting one hour of open-source development for just [**$49.99 one-time ?**][paypal]\n\n\u003c!-- Personl Links --\u003e\n[paypal]: https://sva.onl/paypal\n[buymeacoffee]: https://sva.onl/buymeacoffee\n[twitter]: https://sva.onl/twitter/\n[website]: https://sva.onl/website/\n\n\n## Connect \u0026 Say 👋\n- **Follow** me on [👨‍💻 Github][github] and stay updated on free and open-source software\n- **Follow** me on [🐦 Twitter][twitter] to get updates on my latest open source projects\n- **Message** me on [📠 Telegram][telegram]\n- **Follow** my pet on [Instagram][sofythelabrador] for some _dog-tastic_ updates!\n\n\u003c!-- Personl Links --\u003e\n[sofythelabrador]: https://www.instagram.com/sofythelabrador/\n[github]: https://sva.onl/github/\n[twitter]: https://sva.onl/twitter/\n[telegram]: https://sva.onl/telegram/\n\n\n---\n\n\u003cp align=\"center\"\u003e\n\u003ci\u003eBuilt With ♥ By \u003ca href=\"https://sva.onl/twitter\"  target=\"_blank\" rel=\"noopener noreferrer\"\u003eVarun Sridharan\u003c/a\u003e \u003ca href=\"https://en.wikipedia.org/wiki/India\"\u003e\n   \u003cimg src=\"https://cdn.svarun.dev/flag-india.jpg\" width=\"20px\"/\u003e\u003c/a\u003e \u003c/i\u003e \u003cbr/\u003e\u003cbr/\u003e\n   \u003cimg src=\"https://cdn.svarun.dev/codeispoetry.png\"/\u003e\n\u003c/p\u003e\n\n---\n\n\n\u003c!-- END common-footer.mustache --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsridharan%2Fcpanel-apache-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarunsridharan%2Fcpanel-apache-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunsridharan%2Fcpanel-apache-proxy/lists"}