mirror of
https://github.com/YGGverse/YGGbro.git
synced 2025-03-13 05:51:05 +00:00
update filemap
This commit is contained in:
parent
875e5c8d55
commit
2ac446a78f
@ -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
|
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
|
+ 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
|
+ Provider folder must have same name as it `server_name` value
|
||||||
+ For subfolder configurations, just make plain folder name without dots
|
+ 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`
|
* Attach at least one server file configuration `nginx/some-domain-name/some-provider-name/server.conf`
|
||||||
* Create `nginx/some-provider-name/some-provider-alias/README.md` and describe install/uninstall steps
|
+ 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
|
* Send your PR to this repo
|
||||||
|
|
||||||
_*YGGbro project provides free namespace `.bro.ygg` for Yggdrasil proxy instances by request._
|
_*YGGbro project provides free namespace `.bro.ygg` for Yggdrasil proxy instances by request._
|
||||||
|
@ -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/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
|
Test configuration and apply changes
|
||||||
@ -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/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:
|
Remove symlink if added before:
|
||||||
|
@ -14,5 +14,5 @@ server {
|
|||||||
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf;
|
include /etc/yggbro/nginx/opennet.ru/yggbro/opennet.ru/handles/redirect.conf;
|
||||||
|
|
||||||
# Include available locations
|
# 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;
|
||||||
}
|
}
|
@ -13,7 +13,7 @@ This is subfolder configuration, use `server.conf` preset only when `default_ser
|
|||||||
Alternatively, add following line to existing `default_server`:
|
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
|
Test configuration and apply changes
|
||||||
@ -30,7 +30,7 @@ Remove symlink if exists:
|
|||||||
Remove following line from existing `default_server`:
|
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
|
Test configuration and apply changes
|
||||||
|
@ -11,5 +11,5 @@ server {
|
|||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
# Include available locations
|
# 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…
x
Reference in New Issue
Block a user