diff --git a/README.md b/README.md
index ca60267..043409c 100644
--- a/README.md
+++ b/README.md
@@ -11,8 +11,6 @@
```
Goma Gateway is a lightweight API Gateway.
-Simple, easy to use, and configure.
-
[](https://github.com/jkaninda/goma-gateway/actions/workflows/release.yml)
[](https://goreportcard.com/report/github.com/jkaninda/goma-gateway)
[](https://pkg.go.dev/github.com/jkaninda/goma-gateway)
@@ -20,6 +18,13 @@ Simple, easy to use, and configure.
+
+
+Architecture:
+
+
+
+
## Links:
- [Docker Hub](https://hub.docker.com/r/jkaninda/goma-gateway)
@@ -27,7 +32,6 @@ Simple, easy to use, and configure.
### Documentation is found at
-
### Features
It comes with a lot of integrated features, such as:
@@ -155,26 +159,18 @@ gateway:
##### Define route middlewares from middlewares names
## The name must be unique
## List of middleware name
- middlewares:
- - api-forbidden-paths
- - basic-auth
- # Example of a route | 2
- - name: Authentication service
- path: /auth
- rewrite: /
- destination: https://example.com
- healthCheck: /
- cors: {}
middlewares:
- api-forbidden-paths
# Example of a route | 3
- name: Basic auth
path: /protected
rewrite: /
- destination: 'http://notification-service:8080'
+ destination: https://example.com
healthCheck:
cors: {}
- middlewares: []
+ middlewares:
+ - api-forbidden-paths
+ - basic-auth
#Defines proxy middlewares
# middleware name must be unique
diff --git a/goma-gateway.png b/goma-gateway.png
new file mode 100644
index 0000000..a80d56a
Binary files /dev/null and b/goma-gateway.png differ
diff --git a/goma.yml b/goma.yml
index 35fe24c..6206612 100644
--- a/goma.yml
+++ b/goma.yml
@@ -69,26 +69,18 @@ gateway:
##### Define route middlewares from middlewares names
## The name must be unique
## List of middleware name
- middlewares:
- - api-forbidden-paths
- - basic-auth
- # Example of a route | 2
- - name: Authentication service
- path: /auth
- rewrite: /
- destination: https://example.com
- healthCheck: /
- cors: {}
middlewares:
- api-forbidden-paths
# Example of a route | 3
- name: Basic auth
path: /protected
rewrite: /
- destination: 'http://notification-service:8080'
+ destination: https://example.com
healthCheck:
cors: {}
- middlewares: []
+ middlewares:
+ - api-forbidden-paths
+ - basic-auth
#Defines proxy middlewares
# middleware name must be unique