docs: update deployment config
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
39
docs/quickstart/gateway.md
Normal file
39
docs/quickstart/gateway.md
Normal 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:
|
||||
```
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: Healthcheck
|
||||
layout: default
|
||||
parent: Quickstart
|
||||
nav_order: 2
|
||||
nav_order: 5
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
title: Load Balancing
|
||||
layout: default
|
||||
parent: Quickstart
|
||||
nav_order: 3
|
||||
nav_order: 4
|
||||
---
|
||||
|
||||
|
||||
|
||||
@@ -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
19
docs/quickstart/ssl.md
Normal 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
|
||||
```
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
data:
|
||||
goma.yml: |
|
||||
# Goma Gateway configurations
|
||||
version: 0.1.7
|
||||
version: 1.0
|
||||
gateway:
|
||||
# Proxy write timeout
|
||||
writeTimeout: 15
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Goma Gateway configurations
|
||||
version: 0.1.7
|
||||
version: 1.0
|
||||
gateway:
|
||||
# Proxy write timeout
|
||||
writeTimeout: 15
|
||||
|
||||
Reference in New Issue
Block a user