docs: update deployment config

This commit is contained in:
Jonas Kaninda
2024-11-10 08:15:47 +01:00
parent 4ee9ec5825
commit 0895151b59
10 changed files with 69 additions and 10 deletions

View File

@@ -28,8 +28,8 @@ Example of access middleware
```yaml
routes:
- name: Basic auth
path: /protected
- path: /protected
name: Basic auth
rewrite: /
destination: 'https://example.com'
methods: [POST, PUT, GET]

View File

@@ -29,8 +29,8 @@ Example of access middleware
```yaml
routes:
- name: Basic auth
path: /protected
- path: /protected
name: Basic auth
rewrite: /
destination: 'https://example.com'
methods: [POST, PUT, GET]

View File

@@ -0,0 +1,39 @@
---
title: Gateway
layout: default
parent: Quickstart
nav_order: 1
---
# Gateway
```yaml
version: 1.0
gateway:
sslCertFile: cert.pem
sslKeyFile: key.pem
writeTimeout: 15
readTimeout: 15
idleTimeout: 30
# Rate limiting
rateLimiter: 0
accessLog: /dev/Stdout
errorLog: /dev/stderr
disableRouteHealthCheckError: false
disableDisplayRouteOnStart: false
disableKeepAlive: false
disableHealthCheckStatus: false
blockCommonExploits: true
interceptErrors:
- 500
cors:
origins:
- http://localhost:8080
- https://example.com
headers:
Access-Control-Allow-Credentials: "true"
Access-Control-Allow-Headers: Origin, Authorization, Accept, Content-Type, Access-Control-Allow-Headers, X-Client-Id, X-Session-Id
Access-Control-Max-Age: "1728000"
routes:
```

View File

@@ -2,7 +2,7 @@
title: Healthcheck
layout: default
parent: Quickstart
nav_order: 2
nav_order: 5
---

View File

@@ -2,7 +2,7 @@
title: Load Balancing
layout: default
parent: Quickstart
nav_order: 3
nav_order: 4
---

View File

@@ -2,7 +2,7 @@
title: Route
layout: default
parent: Quickstart
nav_order: 1
nav_order: 2
---
@@ -13,7 +13,7 @@ The Route allows you to match on HTTP traffic and direct it to the backend.
### Example of a route
```yaml
version: ''
version: 1.0
gateway:
routes:
- name: Example

19
docs/quickstart/ssl.md Normal file
View File

@@ -0,0 +1,19 @@
---
title: SSL Certificate
layout: default
parent: Quickstart
nav_order: 4
---
# SSL Certificate
```yaml
version: 1.0
gateway:
sslCertFile: cert.pem
sslKeyFile: key.pem
```

View File

@@ -5,7 +5,7 @@ metadata:
data:
goma.yml: |
# Goma Gateway configurations
version: 0.1.7
version: 1.0
gateway:
# Proxy write timeout
writeTimeout: 15

View File

@@ -1,5 +1,5 @@
# Goma Gateway configurations
version: 0.1.7
version: 1.0
gateway:
# Proxy write timeout
writeTimeout: 15

View File

@@ -1,4 +1,5 @@
# Goma Gateway configurations
version: 1.0
gateway:
# Proxy write timeout
writeTimeout: 15