{"id":16383413,"url":"https://github.com/shakaran/ngcp","last_synced_at":"2026-05-13T20:32:03.698Z","repository":{"id":66442827,"uuid":"143080672","full_name":"shakaran/ngCp","owner":"shakaran","description":"A improved fork of nginxcp.com by Quijost (Ángel Guzmán Maeso)","archived":false,"fork":false,"pushed_at":"2018-08-02T02:08:54.000Z","size":14366,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-21T22:30:03.453Z","etag":null,"topics":["cpanel","cpanel-api","cpanel-servers","nginx","panel","sysadmin"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shakaran.png","metadata":{"files":{"readme":"README","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":"2018-07-31T23:37:14.000Z","updated_at":"2018-08-02T02:08:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e90ea28-389e-4ec6-858a-e9da1c7f8a19","html_url":"https://github.com/shakaran/ngCp","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"d0b23494bdae1715774724dfa94cc2b48deb4f2f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shakaran/ngCp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakaran%2FngCp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakaran%2FngCp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakaran%2FngCp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakaran%2FngCp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shakaran","download_url":"https://codeload.github.com/shakaran/ngCp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shakaran%2FngCp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32999222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"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":["cpanel","cpanel-api","cpanel-servers","nginx","panel","sysadmin"],"created_at":"2024-10-11T04:08:26.731Z","updated_at":"2026-05-13T20:32:03.660Z","avatar_url":"https://github.com/shakaran.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"##NginxInstaller \n\n\nThis script automates installation, and sets up hooks to add nginx vhosts when accounts are added(or removed).\n\n##Usage\n\n\nInstallation\n\n./nginxinstaller [install | uninstall]\n\n\n\n\n\nInstaller Files\n\nCpanel Hooks\n\nCpanel has functionality to hook into certain actions performed within Cpanel. This list of files are self-explanatory. They add/remove nginx vhosts depending on the action. Hooks are located in /usr/local/cpanel/hooks/\n\naddaddondomain\ndeladdondomain\naddsubdomain\ndelsubdomain\npark                \nunpark \n\n\nThis file is used for installing mod_rpaf during EA.\n\n/scripts/after_apache_make_install  \n\n\nThe default nginx.conf\n\n/etc/nginx/nginx.conf    \n \n\nThis script run after account creation or restorepkg. It creates a nginx vhost for that domain.\n\n/scripts/postwwwacct  \n\nSimple function for getting data out of WHM via it's XML API\n\n/scripts/xmlapi.py\n\nThis is where the magic happens. This is the set of functions used for actually writing out the vhost files.\n\n/scripts/createvhosts.py            \n\nCustom init script\n\n/etc/init.d/nginx       \n\nThe installer script.\n\nnginxinstaller\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakaran%2Fngcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshakaran%2Fngcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshakaran%2Fngcp/lists"}