Commit Graph

37 Commits

Author SHA1 Message Date
Christopher Reichert
c8bf92b412 Fix warnings in build.
* In Keter.Proxy explicitly import Default typeclass.
* Remove unused qualified Text impot in Keter.Types.V04.
2014-11-14 15:37:18 -06:00
Michael Snoyman
d61f9d10ea More correct fix for previous commit 2014-11-07 02:05:49 +02:00
Michael Snoyman
51c1fe3a27 Force redirect to https #39 2014-10-20 08:26:24 +03:00
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
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
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
50334e503e Redirect ports are optional 2013-08-12 17:05:07 +03:00
Michael Snoyman
5c368043c8 Removed Keter.Prelude 2013-07-28 13:41:42 +03:00
Michael Snoyman
2387f9bcfb ListeningPort 2013-07-25 17:55:45 +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
3d02ddfbd0 Rename PortManager to HostManager 2013-07-25 13:07:48 +03:00
Michael Snoyman
f4aefc0634 Major rearrangement of types 2013-07-14 15:55:05 +03:00
Michael Snoyman
35688d2d4f Better app config loading 2013-07-14 13:02:18 +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
47cb011a52 IP address headers #8 2013-06-03 14:50:29 +03:00
Michael Snoyman
e32dca73cf Use WAI proxying 2013-06-03 14:50:29 +03: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
root
a2475db419 Add static reverse proxy support for Keter.
No longer have to set up keter bundles for mighttpd or other proxies.
2013-03-16 16:36:57 -05:00
Michael Snoyman
93676eeb07 Slightly more helpful error messages 2012-11-04 10:35:21 +02:00
Michael Snoyman
52971e4b6f Removed host list on Keter welcome page 2012-10-21 07:11:46 +02:00
Michael Snoyman
b0c173a8c1 Host name redirects 2012-10-21 07:07:26 +02:00
Michael Snoyman
6955fe93e0 static-hosts 2012-10-12 12:59:46 +02:00
Michael Snoyman
841e2ab9ab New network-conduit 2012-10-04 18:26:21 +02:00
Michael Snoyman
f5656c660c network-conduit-tls and http-reverse-proxy 2012-10-02 21:57:27 +02:00
Michael Snoyman
20401ec6d4 Handle incomplete HTTP headers in single chunk 2012-09-14 07:04:03 +03:00
Michael Snoyman
fe44d638e9 Replace onException with finally 2012-08-15 18:30:18 +03:00
Michael Snoyman
0cb1d5b2a0 Initial SSL support 2012-08-09 18:12:32 +03:00
Michael Snoyman
80798aafd3 Initial built-in reverse proxy (no Nginx required) 2012-08-06 17:44:41 +03:00