Commit Graph

225 Commits

Author SHA1 Message Date
Karol Wypchlo 11fd6d6d4d clean up 2021-02-03 17:11:32 +01:00
Karol Wypchlo aeed0a2976 Merge branch 'accounts' into accounts-dashboard 2021-02-03 15:36:39 +01:00
Karol Wypchlo b860ede946 luasocket 2021-02-03 15:36:29 +01:00
Karol Wypchlo 54dad9b187 custom frontend 2021-02-03 15:06:44 +01:00
Karol Wypchlo 406ec7f428 separate accounts from default docker-compose 2021-02-01 21:05:22 +01:00
Karol Wypchlo 1054712966 Merge remote-tracking branch 'origin/master' into accounts 2021-01-29 12:49:44 +01:00
Karol Wypchlo c9672b0f1d do not add cache status on this request 2021-01-28 18:16:42 +01:00
Karol Wypchlo 783cff28e6 fix protocol version issue 2021-01-28 18:12:34 +01:00
Karol Wypchlo 4a3fafa9e5 fix docker/nginx/conf.d/client.conf 2021-01-28 15:47:18 +01:00
Karol Wypchlo 1a691038b7 cache only registry calls from hns endpoint 2021-01-28 15:02:51 +01:00
Karol Wypchlo 1177b7cf94 cache registry endpoint for 30s 2021-01-28 14:25:38 +01:00
Karol Wypchlo 203ff0fd84 ensure skylink_rest is local 2021-01-27 13:39:00 +01:00
Karol Wypchlo 5576c223ce fix hns links redirects 2021-01-27 13:27:41 +01:00
Karol Wypchlo 4e089112f8 fix issue breaking xyz 2021-01-25 13:34:07 +01:00
Karol Wypchlo d9c1683c4f Merge remote-tracking branch 'origin/master' into accounts 2021-01-23 15:12:36 +01:00
Karol Wypchło dab6f10a41
Merge pull request #580 from NebulousLabs/caddy-2.3.0
upgrade caddy to 2.3.0
2021-01-23 15:11:33 +01:00
Ivaylo Novakov 3571379c29
Move away from siasky.xyz and back to siasky.net. 2021-01-21 13:35:08 +01:00
Ivaylo Novakov 2891191137
Merge branch 'master' into accounts
# Conflicts:
#	docker/nginx/conf.d/client.conf
2021-01-20 15:39:33 +01:00
Ivaylo Novakov ec825d7c68
Revert "Cockroach backups. Still defunct. Restore to come (or be manual)."
This reverts commit d4f1310f6d.
2021-01-19 18:06:16 +01:00
Ivaylo Novakov d4f1310f6d
Cockroach backups. Still defunct. Restore to come (or be manual). 2021-01-19 17:58:08 +01:00
Ivaylo Novakov 903fe96751
Merge pull request #585 from NebulousLabs/expose-skynet-skylink-header
expose skynet skylink header
2021-01-18 14:37:32 +01:00
Karol Wypchło c4a6e71260
reduce directory tree nesting size (#583) 2021-01-18 12:33:17 +01:00
Karol Wypchlo a7cc85acd4 improve nginx cache 2021-01-15 16:11:06 +01:00
Karol Wypchlo fb1b41a52c expose skynet skylink header 2021-01-15 12:34:46 +01:00
Karol Wypchło 7923506052
add hns_domain and remove named variables 2021-01-13 17:49:24 +01:00
Ivaylo Novakov 85474cbcd2
Merge branch 'master' into accounts
# Conflicts:
#	docker/nginx/Dockerfile
2021-01-13 16:03:20 +01:00
Karol Wypchlo 6053cb3eb2 add new nginx metrics to measure performance 2021-01-13 15:13:34 +01:00
Ivaylo Novakov b4d4229190
Use `docker/kratos/config/kratos.yml` instead of `.kratos.yml`. 2021-01-13 12:46:25 +01:00
Karol Wypchło 83a2170afc
upgrade sia to 1.5.4 (#582)
* upgrade sia to 1.5.4

* bump builder image
2021-01-13 12:42:49 +01:00
Ivaylo Novakov dc1c080f8a
Use the .env file.
Actually expose ports.
2021-01-12 16:56:11 +01:00
Ivaylo Novakov 4e6b4b36a3
Switch to fully secured cockroachdb. 2021-01-08 17:40:25 +01:00
Karol Wypchlo 1a9e4f1a4d upgrade openresty image to ubuntu 18 2021-01-08 13:47:30 +01:00
Karol Wypchlo 6a35c8e58e upgrade caddy to 2.3.0 2021-01-08 13:13:10 +01:00
Ivaylo Novakov 7f4f2065b2
Merge branch 'accounts-frontend' into accounts
# Conflicts:
#	docker-compose.yml
#	docker/accounts/Dockerfile
2021-01-08 12:19:01 +01:00
Sia Dev d1428e9398 Remove Oathkeeper's JWKS token from git. 2021-01-08 12:09:05 +01:00
Sia Dev 6204930c9b Changes from siasky.xyz 2021-01-08 12:04:15 +01:00
Karol Wypchlo 562e484341 xyz 2020-12-18 18:35:25 +01:00
Karol Wypchlo 582e1a9005 xyz 2020-12-18 18:33:59 +01:00
Karol Wypchlo 2d1a8bfeb4 add jwt cookie 2020-12-18 18:30:00 +01:00
Ivaylo Novakov ed95ef6585
Simplify accounts Dockerfile. 2020-12-18 17:22:19 +01:00
Karol Wypchlo bd70a76af1 perma redirect 2020-12-18 12:59:15 +01:00
Karol Wypchlo f52b648c5b add tracking 2020-12-18 12:23:10 +01:00
Karol Wypchlo 550bdb2ba7 upgrade openresty distro and install luasocket 2020-12-17 16:16:28 +01:00
Karol Wypchlo d45af93967 clear dashboard 2020-12-17 12:59:31 +01:00
Karol Wypchlo c806129ba7 rewrite /secure 2020-12-16 14:42:39 +01:00
Karol Wypchlo 3d897cb3ab use secure subdomain 2020-12-16 13:08:51 +01:00
Karol Wypchlo b3029b43e3 fix redirects 2020-12-15 18:53:04 +01:00
Karol Wypchlo 1cf160b988 try proxy redirect 2020-12-15 18:00:10 +01:00
Karol Wypchlo 393025befc fix matcher 2020-12-15 17:34:07 +01:00
Karol Wypchlo 81838aa0e8 access rules 2020-12-15 17:25:09 +01:00
Karol Wypchlo 850a9e8bc1 set cookie path to /secure 2020-12-15 17:25:09 +01:00
Karol Wypchlo 62b9e7dbb4 Revert "secure.conf"
This reverts commit 0fc78481b5d9681f92d4d9028dba8ee5abfeede7.
2020-12-15 17:25:09 +01:00
Karol Wypchlo e2d7397d05 Revert "use secure subdomain"
This reverts commit d8003fdd85f37049ac2c7074495f180f2fcfa1b5.
2020-12-15 17:25:09 +01:00
Karol Wypchlo 8a65e1aadf use secure subdomain 2020-12-15 17:25:09 +01:00
Karol Wypchlo f261871731 secure.conf 2020-12-15 17:25:09 +01:00
Karol Wypchlo 0f060272e2 add accounts proxy 2020-12-15 17:25:09 +01:00
Karol Wypchlo 8f155f32cf redirect back to app 2020-12-15 17:25:09 +01:00
Karol Wypchlo 1152ff8bfb fix logo 2020-12-15 17:25:09 +01:00
Karol Wypchlo 496da1a319 fix logo 2020-12-15 17:25:08 +01:00
Karol Wypchlo bffa9cf093 fix logo 2020-12-15 17:25:08 +01:00
Karol Wypchlo 07c57d166f rename favico 2020-12-15 17:25:08 +01:00
Karol Wypchlo 1b220e118f more overrides 2020-12-15 17:25:08 +01:00
Karol Wypchlo 1bae3f3e92 selfservice branding 2020-12-15 17:25:08 +01:00
Karol Wypchlo ed04aa0e74 Merge remote-tracking branch 'origin/master' into accounts 2020-12-15 10:36:39 +01:00
Ivaylo Novakov 2673c351ba
Fix docker-compose. 2020-12-10 19:26:01 +01:00
Ivaylo Novakov 3f69b948e1
Add accounts to docker-compose.yml. 2020-12-10 18:52:50 +01:00
Karol Wypchło 83d2aa396e
allow to include previous skynet stats (#562)
* allow to include previous skynet stats

* explain chunked response
2020-12-10 14:43:59 +01:00
Ivaylo Novakov 8479bf69d7
Make cookies work with all subdomains. We need to override this in the portal-specific config file. 2020-12-09 15:56:19 +01:00
Sia Dev 2c832c0000 Add Oathkeeper (broken SSL on login) 2020-12-09 13:50:17 +01:00
Ivaylo Novakov 305f94ad71
Go back to using siasky.xyz 2020-12-08 16:36:15 +01:00
Ivaylo Novakov 9d42dda0a6
Switch to Cockroach DB for Kratos.
Use login.siasky.net as login server.
2020-12-08 16:15:31 +01:00
Karol Wypchło cd7696c97d
fix /portals and /stats rewrites (#561) 2020-12-08 12:21:20 +01:00
Ivaylo Novakov e201b8de8f
Merge pull request #370 from NebulousLabs/drop-health-checks-from-access-log
drop health-check endpoint from access.log
2020-12-07 14:13:11 +01:00
Sia Dev 5ce10dbd4a Setup mail sending. 2020-12-07 11:16:21 +01:00
Karol Wypchlo 4465569389 kratos 2020-12-04 17:13:51 +01:00
Karol Wypchło 92f9ca3efe
improve nginx skylinks cache purging (#553)
* purge test

* purge test

* purge test

* purge test

* purge test

* purge test

* purge test

* purge test
2020-12-03 12:59:50 +01:00
Karol Wypchlo ca22cb2c45 limit registry access in nginx 2020-12-01 10:59:45 +01:00
Karol Wypchlo a03c41130a use instead of 2020-11-26 16:10:54 +01:00
Karol Wypchlo 701eccbb2d fix downloading skylink 2020-11-26 15:49:54 +01:00
Karol Wypchło a0aba97298
add server override includes and redirect legacy endpoints (#541)
* add server override includes

* adjusting directory name
2020-11-26 11:44:55 +01:00
Peter-Jan Brone 3eaef976cf
Revert wildcard include (#540)
* Revert wildcard include

* Revert gitignore
2020-11-25 17:26:44 +01:00
Christopher Schinnerl 991d2a076e
Merge pull request #529 from NebulousLabs/pj/rate-limit-ips
Ratelimit
2020-11-25 15:42:06 +01:00
PJ 0a028dbc1a
Move ratelimited 2020-11-25 15:30:29 +01:00
PJ 0040aa5be1
rename zones 2020-11-25 15:15:23 +01:00
Peter-Jan Brone acf7fabe47
Add Skynet-Skylink response header (#526) 2020-11-25 13:26:33 +01:00
PJ 5a9b630f79
Fix typo 2020-11-19 18:27:08 +01:00
PJ 7daebd6d04
Add ratelimit mechanism on upload 2020-11-19 17:08:28 +01:00
Karol Wypchlo 5e735c519b update sia image to use as builder 2020-11-18 17:10:04 +01:00
Karol Wypchlo 05e34b5aaa rename blacklist to blocklist 2020-11-13 17:29:40 +01:00
Karol Wypchlo c946014e7c fix skylink not accessible 2020-11-04 17:28:45 +01:00
Karol Wypchlo 48b1f0d067 tighten if-else and add empty skylink protection 2020-11-04 12:04:24 +01:00
Karol Wypchło 9b09f9ba5c
Update docker/nginx/conf.d/client.conf comment copy 2020-11-04 11:54:38 +01:00
Karol Wypchlo 04ff998beb support skydb in hns 2020-11-03 16:26:33 +01:00
Karol Wypchlo 4dc3588f81 support skydb in hns 2020-11-03 16:24:56 +01:00
Karol Wypchlo 11186f3fd6 support skydb in hns 2020-11-03 16:18:23 +01:00
Karol Wypchlo 61d7df781f update node to 14.15.0 2020-10-30 10:25:37 +01:00
Karol Wypchlo 86497337ec fix nginx conf 2020-10-27 13:36:31 +01:00
Karol Wypchlo 153bed829b extend registry proxy timeout to 10 minutes 2020-10-26 12:35:31 +01:00
Karol Wypchlo f9722f2974 use 1.5.0.4 with fixed logrotate 2020-10-16 17:01:13 +02:00
Karol Wypchlo 831defeca3 add /docs proxy 2020-10-16 14:59:36 +02:00