docs: portal groups

This commit is contained in:
Rekryt
2024-09-05 00:55:07 +03:00
parent a198fe8338
commit 918afccdec
2 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ Demo URL: [https://iplist.opencck.org](https://iplist.opencck.org)
## Configuration ## Configuration
Configuration files are stored in the `config` directory. Each JSON file represents a configuration for a specific portal, defining the domains to monitor and the sources of initial data for IP and CIDR. Configuration files are stored in the `config/<group>/<site>.json`. Each JSON file represents a configuration for a specific portal, defining the domains to monitor and the sources of initial data for IP and CIDR.
```json ```json
{ {
@@ -180,7 +180,7 @@ iplist_youtube_v4_cidr
## Setting up HomeProxy (sing-box) ## Setting up HomeProxy (sing-box)
Enable "Routing mode" in "Only proxy mainland China": Enable "Routing mode" in "Only proxy mainland China":
![1](https://github.com/user-attachments/assets/21b45275-cdc3-472f-87d4-9222e76021f3) ![1](https://github.com/user-attachments/assets/b0295368-b160-430d-8802-9b65db4e096f)
Connect to the router via SSH and execute the following commands: Connect to the router via SSH and execute the following commands:
```shell ```shell
# Rename the old update script # Rename the old update script

View File

@@ -35,7 +35,7 @@ Demo URL: [https://iplist.opencck.org](https://iplist.opencck.org)
| kvas | Keenetic KVAS | | kvas | Keenetic KVAS |
## Настройки ## Настройки
Конфигурационные файлы хранятся в директории `config`. Каждый JSON файл представляет собой конфигурацию для конкретного портала, задавая домены для мониторинга и источники начальных данных по IP и CIDR. Конфигурационные файлы хранятся в `config/<группа>/<портал>.json`. Каждый JSON файл представляет собой конфигурацию для конкретного портала, задавая домены для мониторинга и источники начальных данных по IP и CIDR.
```json ```json
{ {
"domains": [ "domains": [
@@ -188,7 +188,7 @@ iplist_youtube_v4_cidr
## Настройка HomeProxy (sing-box) ## Настройка HomeProxy (sing-box)
Включите "Routing mode" в "Only proxy mainland China": Включите "Routing mode" в "Only proxy mainland China":
![1](https://github.com/user-attachments/assets/21b45275-cdc3-472f-87d4-9222e76021f3) ![1](https://github.com/user-attachments/assets/b0295368-b160-430d-8802-9b65db4e096f)
Подключитесь к роутеру по ssh и выполните следующие команды: Подключитесь к роутеру по ssh и выполните следующие команды:
```shell ```shell
# переименовываем старый скрипт обновления # переименовываем старый скрипт обновления