Skip to content

BioniCosmos/repray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repray

A simple reverse proxy tool

Features

  • HTTPS
  • h2c/gRPC
  • Rejecting TLS handshakes when receiving unknown hostnames

Usage

$ repray <config_file>

Config

Type

interface Config {
  listen: string
  upstream: string
  tls: {
    certFile: string
    keyFile: string
  } | null
}

Example

[
  {
    "listen": ":8443",
    "upstream": "h2c://127.0.0.1:3000",
    "tls": {
      "certFile": "foo.com.pem",
      "keyFile": "foo.com.key"
    }
  },
  {
    "listen": "127.0.0.1:8080",
    "upstream": "https://example.com"
  }
]

About

A simple reverse proxy tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages