docs: add block common exploits and oauth middleware

This commit is contained in:
2024-11-08 19:39:38 +01:00
parent d4de147524
commit e27751ee46
2 changed files with 4 additions and 4 deletions

View File

@@ -68,9 +68,9 @@ It comes with a lot of integrated features, such as:
### 1. Initialize configuration ### 1. Initialize configuration
You can generate the configuration file using `config init --output /config/config.yml` command. You can generate the configuration file using `config init --output /etc/goma/config.yml` command.
The default configuration is automatically generated if any configuration file is not provided, and is available at `/config/goma.yml` The default configuration is automatically generated if any configuration file is not provided, and is available at `/etc/goma/goma.yml`
```shell ```shell
docker run --rm --name goma-gateway \ docker run --rm --name goma-gateway \

View File

@@ -9,14 +9,14 @@ nav_order: 2
### 1. Initialize configuration ### 1. Initialize configuration
You can generate the configuration file using `config init --output /config/config.yml` command. You can generate the configuration file using `config init --output /etc/goma/config.yml` command.
The default configuration is automatically generated if any configuration file is not provided, and is available at `/etc/goma/goma.yml` The default configuration is automatically generated if any configuration file is not provided, and is available at `/etc/goma/goma.yml`
```shell ```shell
docker run --rm --name goma-gateway \ docker run --rm --name goma-gateway \
-v "${PWD}/config:/etc/goma/" \ -v "${PWD}/config:/etc/goma/" \
jkaninda/goma-gateway config init --output /config/config.yml jkaninda/goma-gateway config init --output /etc/goma/config.yml
``` ```
### 3. Start server with a custom config ### 3. Start server with a custom config