goproxy

command module
v0.0.0-...-e396f64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Simple 'goproxy' http(s) proxy

Usage:
$ goproxy config.toml
See example config.toml for details
Get compiled binary from:
Features
  • support for proxy and redirects
  • very small and simple to use
  • if using TLS (https), auto-cert gets lets-encrypt certificates automatically
  • multiple domain proxy forwarding
  • detailed logging if required
  • custom target forward path (see last config.toml example)
  • wildcard domains (well, regex, even better)
  • add custom default action using wild regex grab
  • custom listen forward path for proxy
  • rewrite host header during requests
  • static website hosting
  • basic php website hosting using fastcgi (NOTE: if the website relies on .htaccess files for URL rewrites or other such voodoo, this will not work - clue in the BASIC)
Note

Rules are evaluated top to bottom. If a match is found, that rule will be executed.

Future features
  • add support for custom behaviours for http requests when https is enabled
Version
1.4

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址