43 Commits

Author SHA1 Message Date
tigerbot
e504c4b717 Merge branch 'ddns'
# Conflicts:
#	README.md
#	etc/goldilocks/goldilocks.example.yml
2017-10-25 18:35:07 -06:00
tigerbot
c9318b65b0 fixed enclosure problem for static modules 2017-10-25 18:06:41 -06:00
AJ ONeal
019ec2b990 add option to serve directories 2017-10-24 16:04:44 -06:00
tigerbot
f2ce3e9fe1 Merge branch 'api-rewrite' into ddns
# Conflicts:
#	API.md
#	bin/goldilocks.js
#	etc/goldilocks/goldilocks.example.yml
#	lib/admin/apis.js
#	lib/app.js
#	lib/worker.js
2017-10-17 13:07:52 -06:00
tigerbot
61af4707ee moved domains up a level to allow multiple module groups with same domain names 2017-10-11 12:11:20 -06:00
tigerbot
8f4a733391 changed module config property name 2017-10-05 18:11:58 -06:00
tigerbot
3d3fac5087 simplified how the admin routes are handled 2017-10-03 17:26:44 -06:00
tigerbot
8930a528bc moved some things related to DDNS into separate folder 2017-09-26 18:11:16 -06:00
tigerbot
528e58969e fixed timing problem that lead to lost request bodies 2017-09-15 18:25:23 -06:00
tigerbot
44d11e094b tweaked some logging 2017-09-11 15:57:25 -06:00
tigerbot
66e9ecd2bf fixed bug in finding relevant http module for domains 2017-08-04 16:42:10 -06:00
tigerbot
188869b83e added some API docs for the Socks5 routes 2017-08-04 14:38:22 -06:00
AJ ONeal
983a6e2cd7 more descriptive error message 2017-08-03 15:56:19 -06:00
tigerbot
000d36e76a exposed a loopback test route in the api 2017-06-26 11:34:42 -06:00
tigerbot
fb288bfdbc removed duplication of X-Forwarded header generation 2017-06-16 17:51:03 -06:00
tigerbot
61018d9303 added tunnel server 2017-06-14 10:58:56 -06:00
tigerbot
f569391cd9 added error handling on http-proxy instance 2017-06-09 11:58:43 -06:00
tigerbot
027494cd1d fixed the owner not being on stored tunnel tokens 2017-06-08 10:44:22 -06:00
tigerbot
231e54d808 went back to using http-proxy for non-websockets
We need to be able to insert `X-Forwarded` header for all the requests on
a TCP keep-alive connection
2017-06-02 18:10:16 -06:00
tigerbot
dda3dffb17 fixed problem creating x-forwarded headers 2017-06-01 11:46:28 -06:00
tigerbot
be1a60d2e7 fixed inconsistency in "admin" domain definition 2017-05-31 15:56:28 -06:00
tigerbot
21a77ad10a added way to specify proxy destination 2017-05-24 13:05:37 -06:00
tigerbot
1e3021c669 added ability to scope config by domain (issue #25) 2017-05-23 18:26:03 -06:00
tigerbot
aa28a72f3f moved HTTP static file detection to net layer 2017-05-18 14:09:02 -06:00
tigerbot
dbbae2311c moved HTTP redirection to the net layer 2017-05-18 11:58:10 -06:00
tigerbot
27e818f41a started splitting http handling into multiple servers 2017-05-17 19:16:45 -06:00
tigerbot
47bcdcf2a6 added X-Forwarded header before HTTP proxy 2017-05-17 18:43:44 -06:00
tigerbot
df3a818914 reduced code duplication for proxying 2017-05-17 18:00:16 -06:00
tigerbot
febe106a81 changed how HTTP proxying works
Note that with the way it is currently, proxying modules take priority
over other modules even if they come later in the list.
2017-05-16 17:19:26 -06:00
tigerbot
474f9766d8 made status optional for redirection 2017-05-16 13:11:27 -06:00
tigerbot
d16f857fca implemented HTTP 301 redirect with glob matching 2017-05-16 13:04:08 -06:00
AJ ONeal
0047ae69f4 don't empty the real array, duh 2017-05-16 02:27:33 -05:00
AJ ONeal
3aa1085008 can haz wss 2017-05-16 02:20:02 -05:00
tigerbot
87de2c65ad redirect localhost and IP addresses to real domains 2017-05-11 19:16:23 -06:00
tigerbot
5777a885a4 improved feedback for bad TLS/TCP gateways 2017-05-11 16:42:14 -06:00
tigerbot
70e7d57395 added hooks to handle ACME challenges 2017-05-10 16:05:54 -06:00
tigerbot
56113cb100 implemented static file serving HTTP module 2017-05-09 16:50:07 -06:00
tigerbot
bcba0abddc added error handling when HTTP proxy doesn't connect 2017-05-09 16:23:30 -06:00
tigerbot
ab011d1829 cleaned up all of the custom HTTP handling logic 2017-05-09 15:46:49 -06:00
tigerbot
ab31bae6ff implemented more dynamic HTTP proxying 2017-05-09 14:16:21 -06:00
tigerbot
2414163179 converted tabs to spaces in a few files 2017-05-06 12:23:51 -06:00
AJ ONeal
dc55169415 proxy mostly works 2017-04-27 16:05:34 -06:00
AJ ONeal
67aa28aece WIP merging walnut, serve-https, and stunnel.js 2017-04-26 20:16:47 -06:00