Add architecture

This commit is contained in:
2024-11-02 21:19:35 +01:00
parent 191eee27ca
commit 2c9575eae8
3 changed files with 15 additions and 27 deletions

View File

@@ -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