Commit Graph

64 Commits

Author SHA1 Message Date
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
dependabot[bot] cb6219d000 Bump github.com/gin-gonic/gin from 1.6.3 to 1.7.0
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.6.3...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-30 18:31:45 -04:00
dependabot[bot] 9dd743124e Bump github.com/pires/go-proxyproto from 0.5.0 to 0.6.0
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-30 18:08:02 -04: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
Peter 45d46592cf Update index.html
Welcome to 2021
2021-02-16 15:29:08 -05:00
Andrew Marcuse c82e3a5ff8 FIX: json response for specific field endpoints 2020-11-28 09:09:29 -05:00
George Shammas 4c19dda3a6 Switch to using upstream nixpkgs 2020-11-17 12:36:21 -05:00
George Shammas ea94c5e417 Add building a docker file 2020-11-16 21:42:21 -05:00
George Shammas 0f6591ff04 Add nix flake files 2020-11-15 21:19:12 -05:00
George Shammas 63fa2caee0 Go mod update 2020-11-15 21:04:25 -05:00
Malte Reddig ae1289d2ad Exclude configuration information into new Struct 2020-10-05 09:55:52 -04:00
Malte Reddig 042e135147 Add Dockerfile and docker-compose.yml
This provides a Dockerfile with an docker-compose.yml to install ifconfig.io on a Docker Server
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
Joseph Frazier fde02bd06b Fix readme typo: adverage -> average 2020-09-05 12:30:36 -04:00
George Shammas b8a560cae1
Merge pull request #5 from mkoryak/patch-1
Inlined styles used from bootstrap
2020-08-06 11:57:19 -04:00
Misha Koryak b6d74ca01b
clean up 2020-08-04 09:49:49 -04:00
Misha Koryak 596054b426
Inlined styles used from bootstrap 2020-08-04 09:47:51 -04:00
George Shammas 87bf0b89a6 Remove useless docker files 2020-07-24 19:02:14 +00:00
George Shammas afde12d26c Delete dead code paths 2020-07-24 19:00:35 +00:00
George Shammas 1e437f5598 go get -u 2020-07-24 18:41:53 +00:00
George Shammas ab45a06041 Progress 2020-06-28 12:57:25 +00:00
George Shammas 0a0dc048e1 Old progress 2020-06-14 20:40:47 +00:00
George Shammas 2f4f8ce6c7 Update go mod 2019-08-20 19:25:55 +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 95006a78e2 Version Bumps 2019-03-18 23:19:26 +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 fc1234a448 Update README.md 2015-11-16 16:52:34 -05: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 91af7c833b Update README.md 2015-10-28 09:43:48 -04: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 ba2b86deb9 Modified 2015-05-15 17:28:44 -04:00
George Shammas 385a1fc5b4 Whoopse 2015-05-15 17:20:55 -04:00
George Shammas 74cb075085 Add Docker file 2015-05-15 17:15:45 -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 1f5eeed126 Fix error 2014-08-10 19:03:19 +00:00
George Shammas 054faa87d5 Update 2014-08-10 19:02:21 +00:00
Zachary Elliott 8f8395a59a New bold responsive stuff 2014-08-10 14:52:49 -04:00
George Shammas 5e97b47197 Only lookup hostname if the results are going to need it. 2014-07-10 18:34:34 +00:00