Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/approach0/gateway

API gateway service for Approach Zero website.
https://github.com/approach0/gateway

typo

479c688297e2859de977afb732e0e35a0b12b8a3 authored over 2 years ago by Wei <[email protected]>
fix/debug crontab.

b0695d485fdc6e28b58497aca8527a77d91f1020 authored over 3 years ago by t-k- <[email protected]>
FIX: Handle GeoIP library result edge cases.

7ee59ef3613b5e5ad52c7d0cb20e08723c1de74b authored almost 4 years ago by t-k- <[email protected]>
turn on access_log for debugging

44894a04ae1c4e65cd78557fdda1d883a1437ad8 authored almost 4 years ago by t-k- <[email protected]>
also compress application/json

706d152d3b5f59aa4084888483cc94ec5235b8eb authored almost 4 years ago by t-k- <[email protected]>
add text/javascript to gzip_types

c04760573e5d78848a1556dec92b88f732180033 authored almost 4 years ago by t-k- <[email protected]>
aio is not supported...

9ada97b10b4cc0b1c57a213805af8de6845d862e authored almost 4 years ago by t-k- <[email protected]>
improve large file performance

889a2d17df3018bb8e708d285214b47ff402dab4 authored almost 4 years ago by t-k- <[email protected]>
enable sendfile, sendfile_max_chunk -> 512k

dea4436a4596c9d25709b6be286763ddfee4d44b authored almost 4 years ago by t-k- <[email protected]>
increase worker_processes to 2

c64d1621f4b7e4a0d539f591f77821639b432e36 authored almost 4 years ago by t-k- <[email protected]>
fixup

5b818fc839e71b3c275f406d30e41fd906d2da2f authored almost 4 years ago by t-k- <[email protected]>
fix download link.

08c93613a64a65f783023383843518b12970aacc authored almost 4 years ago by t-k- <[email protected]>
lower burst rate.

516d1f498c1dec97a86750166060d0edea804c40 authored almost 4 years ago by t-k- <[email protected]>
defer acme.sh installation so ~/.acme.sh can be mounted as volume.

3697b13ff6ddd9a3accb9d74495803ea6270f7cc authored almost 4 years ago by t-k- <[email protected]>
fix previous commit.

c053565caa748514baa58543321da09e774b4301 authored almost 4 years ago by t-k- <[email protected]>
setup cron job to renew certificates when using existing.

b579a9128cef0a443216ab180929f9fb05c41858 authored almost 4 years ago by t-k- <[email protected]>
update README

04de4dc209fd26b59e1bd412a9880f5a4c85f5e2 authored almost 4 years ago by t-k- <[email protected]>
more verbose entrypoint.sh

fea344ccaf8afab547e5d4519b93162e4cfe54cd authored almost 4 years ago by t-k- <[email protected]>
Merge branch 'master' of github.com:approach0/gateway

566f14d3b7ffb6fe6a2d2d6fc17ed7775e0d02d6 authored almost 4 years ago by t-k- <[email protected]>
avoid installing certs everytime the service is up.

599010d32fee6bda8906bdda9360a57c1fbe1838 authored almost 4 years ago by t-k- <[email protected]>
Update README.md

44d1beac52dbe66d125f8a7999f68dbd6828a925 authored almost 4 years ago by Wei <[email protected]>
enable proxy_pass gzip.

797e97b0556b6f883d887234c690d7ca838670d0 authored almost 4 years ago by t-k- <[email protected]>
add comment

091dca32cc5c3e5ba9b8b8241cf8a04f48e275d1 authored almost 4 years ago by t-k- <[email protected]>
move proxy setting to a separate config file.

83d5a55b191a120811acfec0cfdb57cf6e60ee32 authored almost 4 years ago by t-k- <[email protected]>
added Gateway-Source-IP header entry.

c2b5e4b92d8c0ba3f82994f0822da40e7cdfddec authored almost 4 years ago by t-k- <[email protected]>
fixup

4b430d3f10eb015834ce9a5bbfaaccc6dd18a375 authored almost 4 years ago by t-k- <[email protected]>
invoke geo_lookup() in log_by_lua_block

c1ff6326f8928f4955588b952155a77e97c7fb23 authored almost 4 years ago by t-k- <[email protected]>
fix geo_lookup() region field.

88149656f3652d79f734bfb7ff19654f2d47a97d authored almost 4 years ago by t-k- <[email protected]>
added new geo* info: subdivisions.

27c993c88c77ed5d23796df5d39f8a6f21552c2e authored almost 4 years ago by t-k- <[email protected]>
fixup.

afa225e31c254f7e29d0c8b1b113d4e88f5a35ff authored almost 4 years ago by t-k- <[email protected]>
ensure geo_* variables are initialized.

15041d859ee1f5d1552567d9c811ebb2bdbf6e6b authored almost 4 years ago by t-k- <[email protected]>
update README

446bda24916277397d27a07b9e220a5a6cb6df69 authored almost 4 years ago by t-k- <[email protected]>
inject GEO-... into proxy headers

21aa95c3d7ed6a1a74a986560bf07516d8771a65 authored almost 4 years ago by t-k- <[email protected]>
print JWT expire date.

4d34b0a2da966167a809e003b8d8e7cd0a416f3c authored almost 4 years ago by t-k- <[email protected]>
JWT: validate expire time.

b77f39bc8e4c1e44baa249c2f37a73b475c8aa0e authored almost 4 years ago by t-k- <[email protected]>
fix geo_city and geo_ctry extraction.

2fdbf97868fbfd3280cfe43d8707a7df6dcc17a3 authored almost 4 years ago by t-k- <[email protected]>
show IP in /geolookup route.

80105a9322a96cbba38e7062da7633312f9c1fc7 authored almost 4 years ago by t-k- <[email protected]>
expose plain HTTP /metrics for Prometheus

84f54a614c470beec574cfb447962803b54e4c7b authored almost 4 years ago by t-k- <[email protected]>
first enable TLS, then invoke acme.sh

6bda864dfc8a1aa3f3380b92db49862619174f2e authored almost 4 years ago by t-k- <[email protected]>
damn... forget to add this!

811d8772c6956f31fbea82976362a2eb9323b2d6 authored almost 4 years ago by t-k- <[email protected]>
Enable TLS would need to redefine listen directive.

619c3f32afe1c36bd95cfddb8fa14e1a3cd54aeb authored almost 4 years ago by t-k- <[email protected]>
Swarm service need a blocking entrypoint, so use job control!

d73420a504d444acd0fc9616e25fa0b457dff791 authored almost 4 years ago by t-k- <[email protected]>
fix entrypoint.sh, nginx spwan should be non-blocking.

f8a1d53f6df76c2308047cfcadaeeae43813cfc6 authored almost 4 years ago by t-k- <[email protected]>
fixup

011617278d85ea82d35ffcebb7a33f47d3b8b54f authored almost 4 years ago by t-k- <[email protected]>
Enable ssl_certificate* from entrypoint script.

a15231141042999889397753bd9bf7b6fba0abd7 authored almost 4 years ago by t-k- <[email protected]>
enable self-signed certificate for bootstraping TLS.

d149aef42bc3deb844687be68fe2155b499cbfae authored almost 4 years ago by t-k- <[email protected]>
use resty.maxminddb as global variable.

c19fa64868b86ca577b1173435a0e6b044484b95 authored almost 4 years ago by t-k- <[email protected]>
Add Shabang to suppress docker complaint

470347a0f77e2880f4be0363b50762075f31e9c2 authored almost 4 years ago by t-k- <[email protected]>
Many changes.

1. Use manual entrypoint.sh
2. OpenResty Unix Socket
3. Listen on two ports (80 and 443)

0c9d94c45fbee7ef644f7b9376af53acb2a69bb9 authored almost 4 years ago by t-k- <[email protected]>
install acme.sh

538b1f6d3e2dc4f0d90cb20e23bfa653c263a8f9 authored almost 4 years ago by t-k- <[email protected]>
fixup

97330b54a312e62bbf46133bccaf7363a8f069aa authored almost 4 years ago by t-k- <[email protected]>
added service load-balance support in gateway.

34f816721413b66173197ea5a1db5b501e48963e authored almost 4 years ago by t-k- <[email protected]>
update github workflows.

913f4d9815af97455f5ee5e6a8cac0d535fa96de authored about 4 years ago by t-k- <[email protected]>
fix: http:close() -> httpc:close()

f1154c14d459fa62f24f0b3269c3512205374842 authored about 4 years ago by t-k- <[email protected]>
Increase httpc timeout.

4d0a41dec1d21843e02205849b04e777139a4b31 authored about 4 years ago by t-k- <[email protected]>
adjust limit_req

6fc38b4d36fee481704609e1777ab78e22e721ea authored about 4 years ago by t-k- <[email protected]>
fix /geolookup error message.

a44fbc22b721a1e29c284ba3b3c088fdef8c4c93 authored about 4 years ago by t-k- <[email protected]>
record real remote information such as IP address

7639f712a4954506fc87f8daf7e58eee7c8c0ed4 authored about 4 years ago by t-k- <[email protected]>
adjust limit_req params.

920adf934d882ea83fd1fb213f68d7fafa61ca5f authored about 4 years ago by t-k- <[email protected]>
fix typo

ec7706f6b507a1362b6c3e6bd794c9b46665146b authored about 4 years ago by t-k- <[email protected]>
adjust limit_req_zone zone.

4e790856655bb8dd420deb014450646efc4ad9bb authored about 4 years ago by t-k- <[email protected]>
Fix security issue: forbid to access docker unix socks except through GET.

69e19905906ba7e9138895734ec11e50af59acd9 authored about 4 years ago by t-k- <[email protected]>
added gauges for Swarm stats.

73a34bbc77aeb0feadc0133e6160c4cb134c84b8 authored about 4 years ago by t-k- <[email protected]>
fixup

49d89e7cd531820707bbd940bd765caa36d1d017 authored about 4 years ago by t-k- <[email protected]>
added a few gauge metrics.

06979bb3297c619052dd34081bd431136adff218 authored about 4 years ago by t-k- <[email protected]>
re-design prometheus exporter schema.

e5d6c6fd1a295a5bb3c576d09a23f46e9df2e280 authored about 4 years ago by t-k- <[email protected]>
support GeoIP lookup and metrics.

3626d52c1e13748692f6b984e34ece7110c89ebd authored about 4 years ago by t-k- <[email protected]>
fixup

9a810f5232b27a868f95bd4967ae74ee18eb473e authored about 4 years ago by t-k- <[email protected]>
Dockerfile: install GeoIP database/library.

1284e9c64312283d3f0ce2f7d02f7b57be495d69 authored about 4 years ago by t-k- <[email protected]>
minor updates

904bbfcd2d5cf5f13a450e1485370f718d61c032 authored about 4 years ago by t-k- <[email protected]>
README rewords

45d6fee9f08dd21acd51fdb3158d12ad5c3e37e1 authored about 4 years ago by t-k- <[email protected]>
update README

4d0c5c5346521e2cb0ccf34ebad82c16191c4cb9 authored about 4 years ago by t-k- <[email protected]>
introduce knyar/nginx-lua-prometheus

3eba1fe0f4602dfd66886f47094d0ad58e59d9b9 authored about 4 years ago by t-k- <[email protected]>
added global request rate-limit.

99c1d4357752f75ad6777552bf2f93fd3001ad36 authored about 4 years ago by t-k- <[email protected]>
add expire time to service_discovery.

4c4a0f64c80d40c2c71ad2d0d1784e1528596868 authored about 4 years ago by t-k- <[email protected]>
trun off DEBUG comment.

84db892943df6a10c838648c07bb1a3cb5130ccc authored about 4 years ago by t-k- <[email protected]>
Merge branch 'master' of github.com:approach0/gateway into master

5c655710a73c5e3639d196a4df35d6f62471e911 authored about 4 years ago by t-k- <[email protected]>
Major change: Fall through unrecognized route to _root_ service.

fdad4a80affdf378cf25f9123ed6fb4c1e70b5a6 authored about 4 years ago by t-k- <[email protected]>
Update README.md

3609b05bfffe6117cfa85608d173e3f786af7b33 authored about 4 years ago by Wei <[email protected]>
minor change

d8e60bd40e2c64e9328eedc712551069ef404ed9 authored about 4 years ago by t-k- <[email protected]>
minor comment.

4d4be4c3b2a78fb8c166bc2258e806c0e110d2c7 authored about 4 years ago by t-k- <[email protected]>
fixup.

0dd2f189d248de6b6e68f969d88dcfc250c54c4e authored about 4 years ago by t-k- <[email protected]>
Handle route JWT verification

03b3c54df2954e2e4018c8d980a9900a427271f8 authored about 4 years ago by t-k- <[email protected]>
Fix JWT token retrieval issue.

829fc1c6b3e82104118e6a1c5d9c9a230a1542cc authored about 4 years ago by t-k- <[email protected]>
trying to fix jwt_port update issue.

aae6fd4db7ef6fcfd861f60ce29bb756fef48658 authored about 4 years ago by t-k- <[email protected]>
Update README.md

ae0ed10aed787083dbc2872b18bea4e5b968e87e authored about 4 years ago by Wei <[email protected]>
update README

22c78b6b6c1ec84332a225769098c1c337a49f2c authored about 4 years ago by t-k- <[email protected]>
update README

0097fc378ff251099b6d21ee3d2feb7c8e89e55f authored about 4 years ago by t-k- <[email protected]>
update README

4341de025288a7f13a4aa3bbb5b915ba7dd2cd29 authored about 4 years ago by t-k- <[email protected]>
fixup, finally it is working!

9baa88e8e13a52d59318cdaf59741adeeca0875d authored about 4 years ago by t-k- <[email protected]>
Correctly handle uri. Including adding trailing / to path.

Example:
http://localhost:8080/users?foo=bar
==>
http://localhost:8080/users/?foo=bar

9f2ed068a53a824cdf7aa29f2312af60845c422e authored about 4 years ago by t-k- <[email protected]>
update README

109c1d675e72cfd70ee5bbe52b8f14772f712b24 authored about 4 years ago by t-k- <[email protected]>
minor updates.

89c94fb3a8f3b2b42b4133be97c84ac8d86159ee authored about 4 years ago by t-k- <[email protected]>
Use correct content-type for built-in 404.

e844f65d959fb4336c7adebd42607e15b3e3b3b3 authored about 4 years ago by t-k- <[email protected]>
update README.md

49c7ce36ba2b9c668b1c9d35544d519eb3d03c15 authored about 4 years ago by t-k- <[email protected]>
fixup

fda98609d38d9b83cf63b73e8f8a4e86075a5b81 authored about 4 years ago by t-k- <[email protected]>
redirect instead of overwrite.

e0083f6aaa8250fa4e489068c8c4b6698d769c31 authored about 4 years ago by t-k- <[email protected]>
rewriting service_discovery.lua, discover JWT token.

20402292b7a386166bb9fe2a158cb4af32864454 authored about 4 years ago by t-k- <[email protected]>
fixup

88146a2a2d77b20573c7bca8efe5e21948149fe5 authored about 4 years ago by t-k- <[email protected]>
for security, do not expose all docker interfaces.

9ad712ec3854732575d075d0ce6ee30bbd6e7783 authored about 4 years ago by t-k- <[email protected]>