Commit Graph

132 Commits

Author SHA1 Message Date
Michael Snoyman
b381d6309f Lookup apps by hostname, not port #44 2014-09-21 13:00:20 +03:00
Michael Snoyman
3adefc102f Case insensitive hostname lookup 2014-09-21 10:42:26 +03:00
Michael Snoyman
b4c19a17e1 external-http(s)-port setting #44 2014-09-21 01:24:41 +03:00
Christopher Reichert
c17e4b013f Test for alternative yaml file extensions when loading
keter config.

Issue #41.
2014-08-13 21:23:13 -05:00
Michael Snoyman
fe62505d33 Use more efficient requestHeaderHost 2014-07-24 09:42:22 +03:00
Michael Snoyman
865ee391ad Set X-Forwarded-Proto 2014-07-24 09:42:13 +03:00
Michael Snoyman
0799d2aacb Turn on GZIP middleware #38 2014-06-16 14:43:01 +03:00
Michael Snoyman
5e857eb989 Fix warnings 2014-06-09 13:30:54 +03:00
Michael Snoyman
1cf11ffb0a WAI 3.0 2014-06-09 13:22:06 +03:00
Michael Snoyman
cb50d581c0 Deep wildcards #32 2014-04-08 18:20:11 +03:00
Michael Snoyman
e4d609221f Decouple LogFile and Process.Unix a bit 2014-03-20 14:47:53 +02:00
Michael Snoyman
48aaf0140b Remove unused Data.Conduit.Process.Unix code 2014-03-20 14:32:56 +02:00
Michael Snoyman
14ca4e21bb WAI 2.0/http-conduit 2.0 2013-11-10 17:04:26 +02:00
Michael Snoyman
65c3135908 Temporary workaround for #29 2013-11-07 16:52:02 +02:00
Michael Snoyman
b63b77feb3 Fix a logic error 2013-09-16 13:15:54 +03:00
Aaron Friel
0b8aafef1f Remove tracing from LabelMap. 2013-08-29 20:20:50 -05:00
Aaron Friel
8a2c5076e9 Add cleanup operation to prevent growth of LabelMap over time. 2013-08-29 19:50:11 -05:00
Aaron Friel
7c5a8952f3 Add checks for explicit assignment in HostManager with support in LabelMap. 2013-08-29 17:22:26 -05:00
Aaron Friel
95ffe0f87e Fix up HostManager to use LabelMap, alter LabelMap to use ByteStrings. 2013-08-28 19:35:21 -05:00
Aaron Friel
3cbd839383 Merge in upstream 2013-08-28 11:37:53 -05:00
Michael Snoyman
a10b0d5bd6 Better handling of all config file format 2013-08-20 12:34:45 +03:00
Aaron Friel
4758633573 Support fully qualified domain names ending in a dot. 2013-08-16 11:52:38 -05:00
Michael Snoyman
c425181638 Added ToJSON instances 2013-08-14 11:55:58 +03:00
Michael Snoyman
50334e503e Redirect ports are optional 2013-08-12 17:05:07 +03:00
Aaron Friel
3c85e21dab Merge upstream and bump to 0.4.1 - add wildcard hostname support.
Wildcard hostnames are now supported in Keter, with partial RFC2818 support.

Wildcard hostnames can have exceptions, can be specified at arbitrary depths,
and are non-recursive. `*.example.com` will match `foo.example.com` but not
`foo.bar.example.com`. Likewise, `*.*.example.com` will only match the latter,
not the former.

The keter.cabal is modified to build the example app.

Internal string usage is made more homogeneous to use Data.Text. Despite this,
internationalized domain names are not yet supported unless entered in config
files as punycode.
2013-08-04 19:08:27 -05:00
Michael Snoyman
b027d7f659 Background apps 2013-07-31 17:00:03 +03:00
Michael Snoyman
df13e7351a More logging, fix bug in reserveHosts 2013-07-30 17:49:01 +03:00
Michael Snoyman
b638eb13f5 Environment variables, other type fixes 2013-07-30 12:02:55 +03:00
Michael Snoyman
8f61b969b7 Better terminate/reload behavior 2013-07-29 07:36:01 +03:00
Michael Snoyman
cebf2baee7 App reloading works 2013-07-28 20:47:22 +03:00
Michael Snoyman
41ec7b3aaa Terminate an app 2013-07-28 20:16:01 +03:00
Michael Snoyman
4e60048d71 Implement killWebApp 2013-07-28 20:02:28 +03:00
Michael Snoyman
a85befd031 Initial webapp launching works 2013-07-28 19:34:15 +03:00
Michael Snoyman
fee2fd1a4a Significant refactoring of Keter.App 2013-07-28 15:19:08 +03:00
Michael Snoyman
5c368043c8 Removed Keter.Prelude 2013-07-28 13:41:42 +03:00
Michael Snoyman
d09f91e071 Keter.Main cleanup 2013-07-26 11:17:05 +03:00
Michael Snoyman
4ffc9fbdc9 Plugins live in IO 2013-07-26 10:46:34 +03:00
Michael Snoyman
042f665603 Better means of having Keter wait 2013-07-26 10:27:06 +03:00
Michael Snoyman
d421ce175c Sighup support 2013-07-26 10:09:11 +03:00
Michael Snoyman
309e7c7306 ASTerminated 2013-07-26 08:40:53 +03:00
Michael Snoyman
bd01be00ea Got rid of Request 2013-07-25 19:58:54 +03:00
Michael Snoyman
2387f9bcfb ListeningPort 2013-07-25 17:55:45 +03:00
Michael Snoyman
e90d592ce5 Beginning of AppManager 2013-07-25 17:35:16 +03:00
Michael Snoyman
c2ed7d5608 Implemented Keter.Proxy 2013-07-25 16:18:23 +03:00
Michael Snoyman
d6fc43ed2d Separate PortPool, non-braindead host management (finally!) 2013-07-25 15:44:23 +03:00
Michael Snoyman
f28556e4d7 Extract reverse proxy rewrite rules 2013-07-25 14:18:32 +03:00
Michael Snoyman
6476bdc53e Beginning of stanza work 2013-07-25 14:10:09 +03:00
Michael Snoyman
3d02ddfbd0 Rename PortManager to HostManager 2013-07-25 13:07:48 +03:00
Michael Snoyman
f99f8cfe5a Removed Keter.Process 2013-07-14 16:28:43 +03:00
Michael Snoyman
f4aefc0634 Major rearrangement of types 2013-07-14 15:55:05 +03:00