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/yggbro
git pull
nginx -t
service nginx reload
Uninstall
rm -R /etc/yggbro
nginx -t
service nginx reload
Contribution
- Get latest version
git clone https://github.com/YGGverse/YGGbro.git
- Navigate to repo folder
cd YGGbro
- Use
git checkout master
then 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_pass
target 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_name
value - 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.md
and describe there install/uninstall steps - Send PR to this repo
*YGGbro project provides free namespace .bro.ygg
for Yggdrasil proxy instances by request.