Matthew Holt
9a78857b31
Startup/shutdown commands run in background with &
2015-05-05 11:08:45 -06:00
Matt Holt
1e730a74a0
Merge pull request #50 from ChannelMeter/core/bind_address
...
core: Add the option to specify what address to bind on in Caddyfile
2015-05-05 00:05:42 -06:00
Nimi Wariboko Jr
46f7930787
Rename bindaddr to just bind
2015-05-04 22:58:08 -07:00
Nimi Wariboko Jr
68793ffe13
Disable tls if the port is http
2015-05-04 22:26:28 -07:00
Matt Holt
4637f14b7f
Merge pull request #48 from ChannelMeter/proxy/refactor
...
proxy: Refactor so that other upstream backends can be implemented
2015-05-04 23:20:44 -06:00
Matt Holt
a3b853dd47
Merge pull request #49 from guilhermebr/master
...
adding crypto/tls sessioncache
2015-05-04 23:15:13 -06:00
Nimi Wariboko Jr
d3aedbeb9a
core: add bindaddr directive, allowing you to specify what address to listen on
2015-05-04 21:38:49 -07:00
Guilherme Rezende
da6a097dcc
adding crypto/tls sessioncache
2015-05-05 00:25:29 -03: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
2dbd14b6dc
Consistent app name/version info; pipe config data through stdin
2015-05-04 16:23:16 -06:00
Matthew Holt
085f6e9560
Keepin' the comments true
2015-05-04 13:42:39 -06:00
Matthew Holt
20118bdfd2
Clearing out the old stuff
2015-05-04 13:40:07 -06:00
Matthew Holt
088f41b334
Began adding tests
2015-05-04 12:04:14 -06:00
Matthew Holt
e4fdf171c7
More refactoring - nearly complete
2015-05-04 11:49:49 -06:00
Matthew Holt
6029973bdc
Major refactoring of middleware and parser in progress
2015-05-04 11:04:37 -06:00
Matthew Holt
995edf0566
Bringing in latest from master; refactoring under way
2015-05-04 11:02:46 -06:00
Matt Holt
5f32f9b1c8
Merge pull request #40 from ChannelMeter/proxy-middleware
...
Proxy Middleware: Add support for multiple backends, load balancing & healthchecks
2015-05-03 15:58:50 -06:00
Nimi Wariboko Jr
264e5b7911
Use the provided Replacer tools in order to proxy string interpolation.
2015-05-03 13:33:08 -07:00
Nimi Wariboko Jr
a28d5585f5
Export Replacer type
2015-05-03 12:43:50 -07:00
Nimi Wariboko Jr
082ae70d1d
Allow responseRecorder to be nil
2015-05-03 12:38:06 -07:00
Nimi Wariboko Jr
2aa958e058
Update {remote} replacer to use X-Forwarded-For if its provided
2015-05-03 12:37:00 -07:00
Matt Holt
290cf82936
Merge pull request #43 from dgryski/vet-fixes
...
config: format string fixes from vet
2015-05-03 11:47:47 -06:00
Damian Gryski
a872ff2d77
config: format string fixes from vet
2015-05-03 19:43:04 +02:00
Matt Holt
4ed9387801
Merge pull request #41 from abiosoft/master
...
fastcgi: allow more request types.
2015-05-03 08:08:21 -06:00
Abiola Ibrahim
225d5977ff
fastcgi: allow more request types.
2015-05-03 12:12:18 +01: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
Matthew Holt
747d59b895
Replace Open with Stat
2015-05-02 11:57:53 -06:00
Matthew Holt
ca95b561dc
gzip: Fix Content-Length header for proxies requests ( closes #38 )
2015-05-02 09:20:39 -06:00
Matt Holt
9df9ad975d
Merge pull request #37 from abiosoft/master
...
git: post pull command. retries after pull failure.
2015-05-01 23:03:43 -06:00
Abiola Ibrahim
9cd1587cf7
git: post pull command. retries after pull failure.
2015-05-02 04:20:01 +01:00
Matthew Holt
782ba32457
Only a warning if site root doesn't exist
2015-05-01 16:23:28 -06:00
Matthew Holt
d11819721d
core: Error if root directory is not found
2015-05-01 13:35:57 -06:00
Matthew Holt
7ee3653342
core: Kill whole process if any server fail to start
2015-05-01 13:35:57 -06:00
Matt Holt
9e3852f21c
Merge pull request #34 from abiosoft/master
...
fastcgi: user defined environment variables
2015-05-01 13:33:22 -06:00
Abiola Ibrahim
447d0ce0e2
fastcgi: user defined environment variables
2015-05-01 19:55:47 +01:00
Matthew Holt
49bb3f1387
git: Service routine, customizable logger, no more HTTP handler
2015-05-01 12:19:30 -06:00
Matt Holt
53a89c953a
Merge pull request #33 from daviskoh/improvement/specify-go-version-dependency
...
Specify Go Version in README
2015-05-01 11:45:30 -06:00
Davis Koh
75d713cdea
add go version to Running from Source section in README.md
2015-05-01 12:35:03 -04:00
Matt Holt
32c104c660
Merge pull request #32 from abiosoft/master
...
Implementation of Git middleware
2015-05-01 10:23:13 -06:00
Abiola Ibrahim
0d2ed0784f
Modified repository path to be relative to root path.
2015-05-01 17:18:58 +01:00
Abiola Ibrahim
479c611420
Implementation of Git middleware
...
Defaults path to site root.
2015-05-01 16:41:34 +01:00
Matthew Holt
d0556d6236
Add link to Docker container
2015-05-01 08:55:34 -06:00
Matthew Holt
37e3fe5f1f
core: Fix dyslexic/backward handling of 403/404 errors
2015-04-30 11:58:38 -06:00
Matthew Holt
9dfbbbcda4
errors: Pointer to handler prevents nil pointer errors in handling ( fixes #15 )
...
If we do not use a pointer here, the startup function that opens the log file stores the log file in a copy of the handler, not the same instance of the handler, causing panics during requests, which is bad, especially when the response is gzipped: the next recover() is beyond the gzip handler, so the browser downloads a gz file instead.
2015-04-30 10:16:49 -06:00
Matthew Holt
b1e1caba29
core: Graceful error handling during heavy load; proper error responses
2015-04-30 10:14:58 -06:00
Matthew Holt
b51e8bc191
fastcgi: Fix for handling errors that come from responder
2015-04-30 07:50:07 -06:00
Matthew Holt
27722463a7
-host flag to set default host
2015-04-29 22:30:12 -06:00
Matthew Holt
3bc4e84ed3
Default host is now 0.0.0.0 (wildcard)
...
Doesn't break using localhost to access the site
2015-04-29 22:30:03 -06:00
Matt Holt
60beddf6c8
Merge pull request #18 from mholt/portflag
...
-port flag to allow overriding default port
2015-04-29 09:27:30 -06:00
Matthew Holt
d00bb87f17
-port flag to override default port
...
Default port used if none is specified in config
2015-04-28 22:13:00 -06:00