MagicFun1241 / roxy

Reverse proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Roxy

Fast reverse proxy

Configuration

Head

dns

is string

default value: 1.1.1.1

security

  • allowedHostsGroups

    is object with array in key values
security:
  allowedHostsGroups:
    cloudflare:
      - 103.21.244.0/22
      - 103.22.200.0/22
      - 103.31.4.0/22
      - 104.16.0.0/12
      - 108.162.192.0/18
      - 131.0.72.0/22
      - 141.101.64.0/18
      - 162.158.0.0/15
      - 172.64.0.0/13
      - 173.245.48.0/20
      - 188.114.96.0/20
      - 190.93.240.0/20
      - 197.234.240.0/22
      - 198.41.128.0/17
    local:
      - 192.168.1.0/24

plugins

is array of plugins names

plugins directory: "plugins" in executable directory

plugins:
  - ratelimit

http

  • servers

    is array of server type
    Property Type Description
    name string Server name. Will not be used nowhere
    port uint16 Port to use. Make empty if use vhost
    domains []string Array of domains
    routes []route Array of routes
http:
  servers:
    - name: Test
      port: 8080
      domains:
        - example.com
      routes:
        - value: /static
          to: /
  • default

    Property Type Description
    port uint16 VHost port

About

Reverse proxy


Languages

Language:Go 98.3%Language:JavaScript 1.7%