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
Abiola Ibrahim
9e2da6ec48
New core middleware, MIME.
2015-09-30 18:37:10 +01:00
Abiola Ibrahim
3f1f6720ee
Decouple git middleware from caddy core. Now available as an add-on at https://github.com/abiosoft/caddy-git .
2015-06-28 00:31:52 +01:00
Abiola Ibrahim
460c0c8a42
setup: export functions and variables for external packages.
2015-06-20 14:59:33 +01:00
Michael Schoebel
0650dd7171
New internal middleware
2015-05-06 22:44:37 +02:00
Nimi Wariboko Jr
46f7930787
Rename bindaddr to just bind
2015-05-04 22:58:08 -07: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
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
Matthew Holt
747d59b895
Replace Open with Stat
2015-05-02 11:57:53 -06: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
aa89b95075
Replaced cpu directive with command line flag
2015-04-24 20:08:14 -06:00
Matthew Holt
2fbfafc408
New startup and shutdown directives
2015-03-26 09:52:03 -06:00
Matthew Holt
974acbf38c
Partial support for location contexts in config files
2015-03-03 09:49:01 -07:00
Matthew Holt
5ae1790e52
Moved controller into its own file; other minor cleanups
2015-01-31 10:15:17 -07:00
Matthew Holt
fe1978c6f5
New 'cpu' directive; now uses all cores by default (if needed)
2015-01-21 14:10:52 -07:00
Matthew Holt
eae024027f
Parser fixes, and now using base filename
2015-01-21 13:19:25 -07:00
Matthew Holt
24fc2ae59e
Major refactoring; more modular middleware
2015-01-18 23:11:21 -07:00
Matthew Holt
4497a16fb0
Early prototype; initial commit
2015-01-13 12:43:45 -07:00