{"id":20651406,"url":"https://github.com/mirocow/site-create","last_synced_at":"2026-05-19T04:04:03.020Z","repository":{"id":138208371,"uuid":"43131098","full_name":"Mirocow/site-create","owner":"Mirocow","description":"Скрипт для создания сайтов","archived":false,"fork":false,"pushed_at":"2020-07-15T00:42:52.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-26T13:38:21.684Z","etag":null,"topics":["configuration","nginx","server","site-config"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Mirocow.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-25T10:13:41.000Z","updated_at":"2024-03-19T16:45:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"a21a3699-aecd-44af-84d2-41b66b0b2c7b","html_url":"https://github.com/Mirocow/site-create","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mirocow/site-create","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirocow%2Fsite-create","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirocow%2Fsite-create/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirocow%2Fsite-create/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirocow%2Fsite-create/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mirocow","download_url":"https://codeload.github.com/Mirocow/site-create/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mirocow%2Fsite-create/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269185546,"owners_count":24374618,"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","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["configuration","nginx","server","site-config"],"created_at":"2024-11-16T17:27:20.359Z","updated_at":"2026-05-19T04:03:57.959Z","avatar_url":"https://github.com/Mirocow.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# site-create\nRU: Скрипт для создания сайтов \u003cbr\u003e\nENG: This script create settings files for nginx, php-fpm, apache2.\n```\nOPTIONS:\n   -n | --host      Host name without www (Example: --host=myhost.com)\n   -i | --ip        IP address, default usage 80 (Example: --ip=127.0.0.1:8080)\n   -r | --redirect  WWW redirect add (Example: --redirect=www-site or --redirect=site-www or disable redirect --redirect=off)\n   -a | --apache    Usage apache back-end\n   -s | --awstats   Usage awstats\n   -5 | --php5      Usage PHP 5.x\n   -7 | --php7      Usage PHP 7.x\n   -l | --lock      Usage Nginx HTTP Auth basic\n   -h | --help      Usage\n\nEXAMPLES:\n   bash site-create.sh --host=\"yii2-eav.ztc\" --ip=\"192.168.1.131:8082\n```   \n\n## Для подключения PHP 7.0\n\n``` sh\n$ bash site-create.sh --host=yii2-eav.ztc --redirect=www-site -7\n```\n\n### Вывод\n\n```\n--------------------------------------------------------\nUser: mts.ztc\nLogin: mts.ztc\nPassword: ODE4N2UzMTNhMDJj\nPath: /home/mts.ztc/\nSSH Private file: /home/mts.ztc/.ssh/id_rsa\nSSH Public file: /home/mts.ztc/.ssh/id_rsa.pub\nServers:\nSite name: mts.ztc (192.168.1.131:80)\nUse redirect from mts.ztc to mts.ztc\nSite root: /home/mts.ztc/httpdocs/web\nSite logs path: /home/mts.ztc/logs\nBack-end server: PHP-FPM\nNGINX: /etc/nginx/conf.d/mts.ztc.conf\nPHP-FPM: /etc/php/7.0/fpm/pool.d/mts.ztc.conf\nunixsock: /var/run/php-fpm-7-mts.ztc.sock\n--------------------------------------------------------\n```\n\n### Для подключения PHP 5.x\n\n``` sh\n$ bash site-create.sh --host=yii2-eav.ztc --redirect=www-site -5\n```\n\n### Вывод\n\n```\n--------------------------------------------------------\nUser: mts.ztc\nLogin: mts.ztc\nPassword: MDIxZDcxMTk4YjY3\nPath: /home/mts.ztc/\nSSH Private file: /home/mts.ztc/.ssh/id_rsa\nSSH Public file: /home/mts.ztc/.ssh/id_rsa.pub\nServers:\nSite name: mts.ztc (192.168.1.131:80)\nUse redirect from mts.ztc to mts.ztc\nSite root: /home/mts.ztc/httpdocs/web\nSite logs path: /home/mts.ztc/logs\nBack-end server: PHP-FPM\nNGINX: /etc/nginx/conf.d/mts.ztc.conf\nPHP-FPM: /etc/php5/fpm/pool.d/mts.ztc.conf\nunixsock: /var/run/php-fpm-5-mts.ztc.sock\n--------------------------------------------------------\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirocow%2Fsite-create","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirocow%2Fsite-create","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirocow%2Fsite-create/lists"}