Matthew Holt
1d47e590e5
proxy: Make headers when upstream is created; avoid potential nil ptr deref
2015-11-17 10:18:13 -07:00
Tw
f56d2090b6
proxy: make http header block scoped
...
Each proxy block should could specify its own http header
instead of sharing a global one.
Fix issue #341
Signed-off-by: Tw <tw19881113@gmail.com>
2015-11-17 14:07:32 +08:00
Abiola Ibrahim
7949388da8
Proxy: Allow ignored subpaths.
2015-11-16 17:22:06 +01:00
Matthew Holt
4ebff9a130
core: Major refactor for graceful restarts; numerous fixes
...
Merged config and app packages into one called caddy. Abstracted away caddy startup functionality making it easier to embed Caddy in any Go application and use it as a library. Graceful restart (should) now ensure child starts properly. Now piping a gob bundle to child process so that the child can match up inherited listeners to server address. Much cleanup still to do.
2015-10-26 13:34:31 -06:00
Zac Bergquist
f9bc74626d
Address various lint and gocyclo warnings. Fixes #253
2015-10-11 16:28:02 -04:00
Matthew Holt
a585379bbb
proxy: Parse error if property is unknown
2015-07-28 13:50:40 -06:00
Viacheslav Biriukov
593557659c
fix tests and change naming
2015-06-04 13:57:39 +00:00
Viacheslav Biriukov
4790dacbf7
add without to proxy middleware
2015-06-03 18:06:24 +00:00
Austin
ccd3e55b32
changes as noted in PR
2015-06-01 10:23:57 -07:00
Austin
56ec7b9887
websocket directive, upgrade comparison
2015-05-30 11:34:54 -07:00
Austin
dd946f8ab5
moved init to policy.go
2015-05-28 18:16:23 -07:00
Austin
593aec9ab1
changes per comment
2015-05-28 16:53:54 -07:00
Austin
6b173b5170
added custom policy support
2015-05-28 15:56:11 -07:00
Zac Bergquist
506f131428
Fix lint warnings for middleware/proxy
2015-05-24 20:58:17 -04:00
Nimi Wariboko Jr
0ed5b364c6
Refactor proxy middleware so that 1.) From() is exposed 2.) Other upstreams can be implemented/plugged in
2015-05-04 19:58:18 -07:00
Matthew Holt
6029973bdc
Major refactoring of middleware and parser in progress
2015-05-04 11:04:37 -06:00
Nimi Wariboko Jr
4a4b80450a
Upgrade proxy middleware. Add support for: multiple backends, load balancing, health checks, and pluggable backends
2015-05-02 22:45:01 -07:00