The Wayback Machine - https://web.archive.org/web/20180613004410/https://github.com/spccold/Xproxy
Skip to content
Java
Switch branches/tags
Nothing to show
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src/main
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Xproxy

Mini Nginx, High Performance ^-^ !

config

# accept connections on the specified port
listen: 8000

# keepalive timeout for all downstream connetions, second
keepalive_timeout: 65

# netty worker threads(auto = cpu cores)
worker_threads: auto

# max connections per worker
worker_connections: 102400

# all virtual hosts configurations
servers: 
  localhost1: 
    -
      path: /*
      proxy_pass: http://localhost1_pool
  localhost2: 
    -
      path: /*
      proxy_pass: http://localhost2_pool
  
# all upstream configurations
upstreams: 
  localhost1_pool: 
    keepalive: 16 # for all backends in current pool
    servers: 
     - 127.0.0.1:8080
     - 127.0.0.2:8080
  localhost2_pool: 
    keepalive: 32 # for all backends in current pool
    servers: 
     - 127.0.0.1:8088
     - 127.0.0.2:8088
     - 127.0.0.3:8088
     - 127.0.0.4:8088
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.