Commit Graph

78 Commits

Author SHA1 Message Date
Michael Snoyman
b63b77feb3 Fix a logic error 2013-09-16 13:15:54 +03:00
Michael Snoyman
1f00b2e8c9 Cabal file tweaks 2013-09-08 16:16:07 +02:00
Aaron Friel
3cbd839383 Merge in upstream 2013-08-28 11:37:53 -05:00
Aaron Friel
428dceaf69 Block entropy 0.2.2.2 as it fails to build on my system. 2013-08-21 09:53:51 -05: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
2c177fa7b8 Use newest unix-process-conduit 2013-07-30 19:37:15 +03:00
Michael Snoyman
5c368043c8 Removed Keter.Prelude 2013-07-28 13:41:42 +03:00
Michael Snoyman
042f665603 Better means of having Keter wait 2013-07-26 10:27:06 +03:00
Michael Snoyman
72dc776e6f Updated version number 2013-07-26 08:48:51 +03:00
Michael Snoyman
e90d592ce5 Beginning of AppManager 2013-07-25 17:35:16 +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
Michael Snoyman
3fc984866a Started versioning of data types 2013-07-14 15:28:48 +03:00
Michael Snoyman
88980e01a5 Moved TempDir to TempTarball 2013-07-10 14:15:18 +03:00
Michael Snoyman
0faa41cf21 More generic plugin system 2013-07-10 13:27:36 +03:00
Michael Snoyman
235ceca5bb Move log file code into unix-process-conduit 2013-07-10 12:48:46 +03:00
Michael Snoyman
f65d21cdb0 Removed Keter.SSL 2013-07-10 10:00:02 +03:00
Michael Snoyman
9750270cb2 Data.Yaml.FilePath 2013-07-10 09:57:38 +03:00
Michael Snoyman
946a1429fe Moved process tracker to unix-process-conduit 2013-07-10 09:03:03 +03:00
Michael Snoyman
e32dca73cf Use WAI proxying 2013-06-03 14:50:29 +03:00
Michael Snoyman
a72eac5c15 Switch to fsnotify 2013-06-03 14:49:57 +03:00
Emanuel Borsboom
b7124b8181 Remove upper bound on http-reverse-proxy 2013-05-29 05:57:41 -07:00
Michael Snoyman
3f8cc81189 HUP signal to refresh apps #15 2013-05-29 09:46:25 +03:00
Michael Snoyman
b00f0756a1 TLS bump for #13 2013-04-02 11:30:45 +03:00
Michael Snoyman
0ffe056d01 Version bump 2013-04-02 10:00:03 +03:00
Michael Snoyman
1a6bcd3a05 wai version bump 2013-04-02 09:57:01 +03:00
Michael Snoyman
0cc062f406 Merge branch 'master' of https://github.com/AaronFriel/keter 2013-04-02 09:56:02 +03:00
Aaron Friel
c4463a03d1 Fixes for working with legacy servers that poorly handle chunked transfers.
Essentially, some servers when receiving a chunked transfer are observed to
behave poorly on the response side when receiving a chunked encoded request
body from the client.
2013-03-31 18:35:10 -05:00
Aaron Friel
e8b6c7c7f6 Debugging - print chunk sizes of HTTP bodies through proxy 2013-03-24 13:33:36 -05:00
Michael Snoyman
cb744ced60 network-conduit-tls bump 2013-03-21 10:04:28 +02:00
root
03dbc0807d Built-in reverse proxy now supports rewriting headers
This is necessary for using Keter as a front-end to other web
services that may require hacks like Jenkins does, where the
"Location" header needs to be rewritten to use https on every
response.

Example:

```
root: ..
port: 80
ssl:
  # host:
  port:
  key:
  certificate:
reverse-proxy:
  - reversed-host: jenkins-internal.corp.example.com
    reversed-port: 8080
    reversing-host: jenkins.example.com
    ssl: False
    rewrite-response:
      - header: Location
        from: ^http://jenkins.example.com
        to: https://jenkins.example.com
```
2013-03-20 00:01:43 -05:00
Michael Snoyman
5cda4998db wai 1.4 2013-02-18 18:46:06 +02:00
Michael Snoyman
cb6f9f4e86 conduit 1.0 2013-02-18 10:47:46 +02:00
Michael Snoyman
02d9e8c0ad Version bump 2013-02-13 12:56:55 +02:00
Christian Kjær Laustsen
c6be7660d6 Keter fails to build if tar < 0.4
Keter fails to install when tar is too old. It outputs:

Keter/App.hs:161:38: 
    Not in scope: type constructor or class `Tar.FormatError'
2013-02-13 01:06:49 +01:00
Michael Snoyman
03bb4ba811 Version bump 2013-01-28 10:12:50 +02:00
Michael Snoyman
ae3005ac65 Version bump 2013-01-02 18:33:30 +02:00
Michael Snoyman
894607bc15 Version bump 2012-12-27 11:53:34 +02:00
Michael Snoyman
c1e49dc1cf Kill processes when Keter shuts down (#3) 2012-11-19 10:31:40 +02:00
Michael Snoyman
71e5772505 Version bump 2012-10-24 16:54:54 +02:00
Michael Snoyman
29eb1a4a6c Version bump 2012-10-21 15:04:31 +02:00
Michael Snoyman
b0c173a8c1 Host name redirects 2012-10-21 07:07:26 +02:00
Michael Snoyman
30804ae341 unix-process-conduit 0.2 2012-10-16 21:21:11 +02:00
Michael Snoyman
0f5920cf12 unix-process-conduit bump 2012-10-16 08:02:59 +02:00
Michael Snoyman
63dc14b394 Version bump 2012-10-14 14:52:12 +02:00