Commit Graph

347 Commits

Author SHA1 Message Date
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 d25ceadf4a changed how TLS sockets are wrapped 2017-05-17 18:00:06 -06:00
AJ ONeal e386b19e3f update no-config defaults 2017-05-17 14:24:19 -05: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
AJ ONeal 15c80dab14 add socket-pair as dep 2017-05-16 17:10:32 -05:00
AJ ONeal 1731d09849 get packages for admin ui 2017-05-16 16:58:45 -05: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
AJ ONeal 47d72365cc fix ownership on os x 2017-05-16 02:17:18 -05:00
AJ ONeal b229bbc6cb scope node, npm, and module installs to /opt/goldilocks 2017-05-15 23:34:30 -05:00
tigerbot 8599d383df changed example config to use snake_case 2017-05-15 16:16:15 -06:00
tigerbot 5719a8a434 Merge branch 'forwarding' 2017-05-15 16:05:27 -06: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 e24f9412dd improved error handling for TLS/TCP proxying 2017-05-10 17:21:03 -06:00
tigerbot 158c363c88 added example config to show what can currently be done 2017-05-10 16:56:08 -06:00
tigerbot 70e7d57395 added hooks to handle ACME challenges 2017-05-10 16:05:54 -06:00
tigerbot afca49feae moved TLS handling into a separate file 2017-05-10 12:56:47 -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 b3b407d161 Merge branch 'master' into forwarding 2017-05-09 10:53:56 -06:00
AJ ONeal b1c1aba7a5 add node as first argument 2017-05-09 10:26:20 -06:00
AJ ONeal 569b2c49c2 uninstall uninstaller, duh 2017-05-08 20:12:12 -06:00
AJ ONeal 0b877f9c9c print when complete 2017-05-08 20:11:06 -06:00
AJ ONeal b14c90501b ignore failure to remove full parent path 2017-05-08 20:09:15 -06:00
AJ ONeal c7924ca164 rename goldilocks-uninstall -> uninstall-goldilocks 2017-05-08 20:08:25 -06:00
AJ ONeal e70da5af22 update with uninstaller 2017-05-08 20:06:25 -06:00
AJ ONeal b57b18f5ed whitespace 2017-05-08 19:52:34 -06:00
AJ ONeal 5af64078ce Update journalctl for systemd 2017-05-09 01:39:45 +00:00
AJ ONeal ea3506c352 fix #18 use node binary and don't list files and dirs that don't exist 2017-05-09 01:29:23 +00:00
AJ ONeal 388733568d create directories that may not exist 2017-05-09 01:27:37 +00:00
AJ ONeal 0187114160 Update goldilocks.service 2017-05-09 01:08:36 +00:00
tigerbot 99a3de6496 implemented ability to proxy TLS based on SNI 2017-05-08 17:59:45 -06:00
tigerbot f32db19b52 handled case where no TCP modules exist 2017-05-08 17:47:51 -06:00
AJ ONeal 953bdda67e correct basename -> dirname 2017-05-08 17:04:36 -06:00
AJ ONeal dad2e66f52 allow empty config file 2017-05-08 17:01:59 -06:00
tigerbot 513e6e8bdd implemented forwarding of TCP based on incoming port 2017-05-08 16:52:37 -06:00
AJ ONeal 1bdcd73d28 download etc config 2017-05-08 16:50:41 -06:00
AJ ONeal 5451cbb4da v1.0.0-placeholder 2017-05-08 16:35:24 -06:00
AJ ONeal ed9ed3d21b v2.2.1 2017-05-08 16:34:23 -06:00
AJ ONeal 3a96004038 rookie mistake: path.join should be path.resolve 2017-05-08 16:34:03 -06:00
AJ ONeal 5f97e1bd67 Add empty goldilocks.yml 2017-05-08 21:58:18 +00:00
AJ ONeal 569e3b02d2 set all variables properly and create paths correctly 2017-05-08 21:56:40 +00:00
AJ ONeal d71240a222 use MY_ROOT in place of PREFIX 2017-05-08 21:47:31 +00:00
AJ ONeal c75a073ce4 Update install.sh 2017-05-08 21:44:36 +00:00