Browse Source

update filemap

main
ghost 6 months ago
parent
commit
2ac446a78f
  1. 9
      README.md
  2. 4
      nginx/opennet.ru/yggbro/opennet.ru/README.md
  3. 0
      nginx/opennet.ru/yggbro/opennet.ru/location.conf
  4. 2
      nginx/opennet.ru/yggbro/opennet.ru/server.conf
  5. 4
      nginx/texty.org.ua/yggbro/texty.org.ua/README.md
  6. 0
      nginx/texty.org.ua/yggbro/texty.org.ua/location.conf
  7. 2
      nginx/texty.org.ua/yggbro/texty.org.ua/server.conf

9
README.md

@ -33,13 +33,14 @@ It allows to simply deploy new server and apply latest updates from repo with ju @@ -33,13 +33,14 @@ It allows to simply deploy new server and apply latest updates from repo with ju
Please, follow existing file tree and namespace model
* Create namespace folder for new proxy source if not available yet `mkdir nginx/some-provider-name`
* 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
* Add provider folder into namespace created `mkdir nginx/some-provider-name/some-provider-alias`
* 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
* Attach at least one server file configuration `nginx/some-provider-name/some-provider-alias/server.conf`
* Create `nginx/some-provider-name/some-provider-alias/README.md` and describe install/uninstall steps
* Attach at least one server file configuration `nginx/some-domain-name/some-provider-name/server.conf`
+ For subfolder configurations, attach location file also `nginx/some-domain-name/some-provider-name/location.conf`
* Create `nginx/some-domain-name/some-provider-name/README.md` and describe there install/uninstall steps
* Send your PR to this repo
_*YGGbro project provides free namespace `.bro.ygg` for Yggdrasil proxy instances by request._

4
nginx/opennet.ru/yggbro/opennet.ru/README.md

@ -27,7 +27,7 @@ Alternatively, add following requirements to existing `default_server`: @@ -27,7 +27,7 @@ Alternatively, add following requirements to existing `default_server`:
```
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf;
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/locations.conf;
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/location.conf;
```
Test configuration and apply changes
@ -41,7 +41,7 @@ Remove following requirements from existing `default_server`: @@ -41,7 +41,7 @@ Remove following requirements from existing `default_server`:
```
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf;
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/locations.conf;
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/location.conf;
```
Remove symlink if added before:

0
nginx/opennet.ru/yggbro/opennet.ru/locations.conf → nginx/opennet.ru/yggbro/opennet.ru/location.conf

2
nginx/opennet.ru/yggbro/opennet.ru/server.conf

@ -14,5 +14,5 @@ server { @@ -14,5 +14,5 @@ server {
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf;
# Include available locations
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/locations.conf;
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/location.conf;
}

4
nginx/texty.org.ua/yggbro/texty.org.ua/README.md

@ -13,7 +13,7 @@ This is subfolder configuration, use `server.conf` preset only when `default_ser @@ -13,7 +13,7 @@ This is subfolder configuration, use `server.conf` preset only when `default_ser
Alternatively, add following line to existing `default_server`:
```
include /etc/yggbro/nginx/texty.org.ua/yggbro/texty.org.ua/locations.conf;
include /etc/yggbro/nginx/texty.org.ua/yggbro/texty.org.ua/location.conf;
```
Test configuration and apply changes
@ -30,7 +30,7 @@ Remove symlink if exists: @@ -30,7 +30,7 @@ Remove symlink if exists:
Remove following line from existing `default_server`:
```
include /etc/yggbro/nginx/texty.org.ua/yggbro/texty.org.ua/locations.conf;
include /etc/yggbro/nginx/texty.org.ua/yggbro/texty.org.ua/location.conf;
```
Test configuration and apply changes

0
nginx/texty.org.ua/yggbro/texty.org.ua/locations.conf → nginx/texty.org.ua/yggbro/texty.org.ua/location.conf

2
nginx/texty.org.ua/yggbro/texty.org.ua/server.conf

@ -11,5 +11,5 @@ server { @@ -11,5 +11,5 @@ server {
server_name _;
# Include available locations
include /etc/yggbro/nginx/texty.org.ua/yggbro/texty.org.ua/locations.conf;
include /etc/yggbro/nginx/texty.org.ua/yggbro/texty.org.ua/location.conf;
}

Loading…
Cancel
Save