Skip to content

milkhunters/api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Gateway

A simple service that processes user requests, performing authorization and balancing between services

Todo

  • HTTP Gateway
  • WS Gateway
  • Tls Gateway (testing)
  • Tls Services
  • Auth Middleware integration
  • Cutter Middleware integration
  • Logger Middleware integration
  • Balancer

Config example

The config file is created automatically if it was not created manually

workers: 4
is_intermediate: false
log_level: info
tls:
  cert: cert/cert.pem
  key: cert/key.pem
auth_servers:
  - http://127.0.0.2:50051
  - http://127.0.0.3:50051
services:
  SomeService:
    url_match: (test|stage).mlkh.ru:8080/.*
    upstreams:
    - http://127.0.0.2:8081/
    - http://127.0.0.3:8081/

Releases

No releases published

Packages

No packages published