mirror of
https://github.com/YGGverse/YGGbro.git
synced 2026-03-31 09:35:32 +00:00
2.9 KiB
2.9 KiB
YGGbro - proxy preset for modern servers
Simple deploy new proxy and apply updates by few commands!
Install
git clone https://github.com/YGGverse/YGGbro.git /etc/yggbro
Update
cd /etc/yggbrogit pullnginx -tservice nginx reload
Uninstall
rm -R /etc/yggbronginx -tservice nginx reload
Contribution
- Get latest version
git clone https://github.com/YGGverse/YGGbro.git - Navigate to repo folder
cd YGGbro - Use
git checkout masterthen create new branch for each new PRgit checkout -b some-provider-name
Nginx
Please, follow existing file tree and namespace model
- Create namespace folder for new proxy source if not available yet
mkdir nginx/some-domain-name- Namespace folder must have same name as it
proxy_passtarget value
- Namespace folder must have same name as it
- Add provider folder into namespace created
mkdir nginx/some-domain-name/some-provider-name- Provider folder must have same name as it
server_namevalue - For subfolder configurations, just make plain folder name without dots
- Provider folder must have same name as it
- Attach at least one server file configuration
nginx/some-domain-name/some-provider-name/server.conf- For subfolder, attach location file
nginx/some-domain-name/some-provider-name/location.conf
- For subfolder, attach location file
- Create
nginx/some-domain-name/some-provider-name/README.mdand describe there install/uninstall steps - Send PR to this repo
*YGGbro project provides free namespace .bro.ygg for Yggdrasil proxy instances by request.