Commit Graph

35 Commits

Author SHA1 Message Date
George Shammas 7b2fcd7473 Fix host api endpoints 2022-01-05 10:46:22 -05:00
George Shammas 8906365897 Understand more useragents to be commandline 2022-01-05 10:29:56 -05:00
George Shammas b91d8b5fda go fmt 2022-01-04 17:07:48 -05:00
Stephanie Sunshine 984be2f57e Added Javascript endpoints and systemd service example 2022-01-04 17:06:08 -05:00
stephanie a5adaf7e50 adding endpoint /all.js 2022-01-04 17:06:08 -05:00
Buildkite 6b6e51d03b Recognize requests from HTTPie and treat them like requests from curl 2021-07-21 07:24:37 -04:00
George Shammas ef8a65594a Add support for chained X-Forwarded-For headers 2021-04-10 09:36:08 -04:00
George Shammas 20c1bb595a Add proxyproto support 2021-04-05 12:26:13 -04:00
George Shammas 23a10b7039 Add a header to change the which header we look for the remote IP
closes #3
2021-03-29 08:29:27 -04:00
Andrew Marcuse c82e3a5ff8 FIX: json response for specific field endpoints 2020-11-28 09:09:29 -05:00
Malte Reddig ae1289d2ad Exclude configuration information into new Struct 2020-10-05 09:55:52 -04:00
Malte Reddig e9feea4898 Add HOSTNAME Env Variable
The HOSTNAME Env Variable adapts the HTML template to the current hostname.

This is by default `ifconfig.io`
2020-10-05 09:55:52 -04:00
Malte Reddig bdc30bf2c7 Add TLS Flag and make it optional
TLS server is now optional and deactivated by default.
2020-10-05 09:55:52 -04:00
George Shammas afde12d26c Delete dead code paths 2020-07-24 19:00:35 +00:00
George Shammas 0a0dc048e1 Old progress 2020-06-14 20:40:47 +00:00
George Shammas 0df5e08d28 Handle SSL autocerting much better 2019-06-07 21:20:18 +00:00
George Shammas 06722d0da4 progress? 2019-04-23 13:18:44 +00:00
George Shammas a8a41f114c Progress 2018-12-27 22:12:12 +00:00
George Shammas 9d6ff7803a Allow the use of cloudflare IP 2016-07-19 23:00:05 +00:00
George Shammas e3d1bc7bed goimports 2015-11-30 17:03:37 +00:00
George Shammas c8cd9ee648 Add systemd socket support 2015-11-30 16:57:08 +00:00
George Shammas 0a392f3e90 Adding newrelic application monitoring support 2015-11-30 16:57:08 +00:00
George Shammas 78818ebbd9 Add the ability to test local port reachability from the world 2015-11-16 21:16:06 +00:00
George Shammas b46780971c Update to support changes to the gin API. More logic on when not to do DNS resolution 2015-10-26 20:30:36 +00:00
George Shammas 6d248b5cf0 Listen on both the FCGI port and the webport! 2015-05-15 20:33:27 -04:00
George Shammas c4b8b29681 Add Country Code Support, power by cloudflare 2015-03-04 08:15:24 -05:00
George Shammas 2373062a39 Quick update to support being behind cloudflare 2015-03-01 19:14:22 -05:00
George Shammas 054faa87d5 Update 2014-08-10 19:02:21 +00:00
George Shammas 5e97b47197 Only lookup hostname if the results are going to need it. 2014-07-10 18:34:34 +00:00
George Shammas 7fbc0ab612 More data to return to client 2014-07-09 19:57:43 +00:00
George Shammas a67134d87e Make this a FCGI listener, so we can load it easily behind apache 2014-07-09 15:21:12 +00:00
George Shammas 856c190656 Inlined CSS 2014-07-08 21:27:05 -04:00
George Shammas eab5de5558 Some linting 2014-07-08 20:32:45 -04:00
George Shammas 049b7e727f Template loaded, @zellio will write splash page. 2014-07-08 20:19:26 -04:00
George Shammas 1e55bc33b1 INIT 2014-07-08 19:00:49 -04:00