12
README.md
12
README.md
@@ -44,6 +44,7 @@ It comes with a lot of integrated features, such as:
|
|||||||
- Cross-Origin Resource Sharing (CORS)
|
- Cross-Origin Resource Sharing (CORS)
|
||||||
- Custom Headers
|
- Custom Headers
|
||||||
- Backend Errors interceptor
|
- Backend Errors interceptor
|
||||||
|
- Support TLS
|
||||||
- Authentication middleware
|
- Authentication middleware
|
||||||
- JWT `client authorization based on the result of a request`
|
- JWT `client authorization based on the result of a request`
|
||||||
- Basic-Auth
|
- Basic-Auth
|
||||||
@@ -53,11 +54,10 @@ It comes with a lot of integrated features, such as:
|
|||||||
|
|
||||||
### Todo:
|
### Todo:
|
||||||
|
|
||||||
- [ ] Support TLS
|
|
||||||
- [ ] Blocklist IP address middleware
|
|
||||||
- [ ] OAuth authentication middleware — Optional
|
- [ ] OAuth authentication middleware — Optional
|
||||||
- [ ] Distributed Rate Limiting for Token based across multiple instances using Redis
|
|
||||||
- [ ] Distributed Rate Limiting for In-Memory client IP based across multiple instances using Redis
|
- [ ] Distributed Rate Limiting for In-Memory client IP based across multiple instances using Redis
|
||||||
|
- [ ] Blocklist IP address middleware
|
||||||
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
@@ -122,13 +122,17 @@ Example of a configuration file
|
|||||||
# Goma Gateway configurations
|
# Goma Gateway configurations
|
||||||
gateway:
|
gateway:
|
||||||
########## Global settings
|
########## Global settings
|
||||||
listenAddr: 0.0.0.0:80
|
listenAddr: :80 #:443 SSL
|
||||||
# Proxy write timeout
|
# Proxy write timeout
|
||||||
writeTimeout: 15
|
writeTimeout: 15
|
||||||
# Proxy read timeout
|
# Proxy read timeout
|
||||||
readTimeout: 15
|
readTimeout: 15
|
||||||
# Proxy idle timeout
|
# Proxy idle timeout
|
||||||
idleTimeout: 60
|
idleTimeout: 60
|
||||||
|
## SSL Certificate file
|
||||||
|
sslCertFile: '' #cert.pem
|
||||||
|
## SSL Private Key file
|
||||||
|
sslKeyFile: ''#key.pem
|
||||||
# Proxy rate limit, it's In-Memory IP based
|
# Proxy rate limit, it's In-Memory IP based
|
||||||
# Distributed Rate Limiting for Token based across multiple instances is not yet integrated
|
# Distributed Rate Limiting for Token based across multiple instances is not yet integrated
|
||||||
rateLimiter: 0
|
rateLimiter: 0
|
||||||
|
|||||||
@@ -57,13 +57,17 @@ Example of a configuration file
|
|||||||
# Goma Gateway configurations
|
# Goma Gateway configurations
|
||||||
gateway:
|
gateway:
|
||||||
########## Global settings
|
########## Global settings
|
||||||
listenAddr: 0.0.0.0:80
|
listenAddr: :80 #:443 SSL
|
||||||
# Proxy write timeout
|
# Proxy write timeout
|
||||||
writeTimeout: 15
|
writeTimeout: 15
|
||||||
# Proxy read timeout
|
# Proxy read timeout
|
||||||
readTimeout: 15
|
readTimeout: 15
|
||||||
# Proxy idle timeout
|
# Proxy idle timeout
|
||||||
idleTimeout: 60
|
idleTimeout: 60
|
||||||
|
## SSL Certificate file
|
||||||
|
sslCertFile: '' #cert.pem
|
||||||
|
## SSL Private Key file
|
||||||
|
sslKeyFile: ''#key.pem
|
||||||
# Proxy rate limit, it's In-Memory IP based
|
# Proxy rate limit, it's In-Memory IP based
|
||||||
# Distributed Rate Limiting for Token based across multiple instances is not yet integrated
|
# Distributed Rate Limiting for Token based across multiple instances is not yet integrated
|
||||||
rateLimiter: 0
|
rateLimiter: 0
|
||||||
|
|||||||
6
goma.yml
6
goma.yml
@@ -1,13 +1,17 @@
|
|||||||
# Goma Gateway configurations
|
# Goma Gateway configurations
|
||||||
gateway:
|
gateway:
|
||||||
########## Global settings
|
########## Global settings
|
||||||
listenAddr: 0.0.0.0:80
|
listenAddr: :80 #:443 SSL
|
||||||
# Proxy write timeout
|
# Proxy write timeout
|
||||||
writeTimeout: 15
|
writeTimeout: 15
|
||||||
# Proxy read timeout
|
# Proxy read timeout
|
||||||
readTimeout: 15
|
readTimeout: 15
|
||||||
# Proxy idle timeout
|
# Proxy idle timeout
|
||||||
idleTimeout: 60
|
idleTimeout: 60
|
||||||
|
## SSL Certificate file
|
||||||
|
sslCertFile: '' #cert.pem
|
||||||
|
## SSL Private Key file
|
||||||
|
sslKeyFile: ''#key.pem
|
||||||
# Proxy rate limit, it's In-Memory IP based
|
# Proxy rate limit, it's In-Memory IP based
|
||||||
# Distributed Rate Limiting for Token based across multiple instances is not yet integrated
|
# Distributed Rate Limiting for Token based across multiple instances is not yet integrated
|
||||||
rateLimiter: 0
|
rateLimiter: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user