Commit Graph

105 Commits

Author SHA1 Message Date
Ivaylo Novakov 2db648b0ad
Nginx passes Skynet-Api-Key and Authorization headers at all spots where it passes the Cookie header. 2022-03-10 18:11:37 +01:00
Karol Wypchlo a743b625ff
Revert "Merge pull request #1831 from SkynetLabs/redirect-base64-skylink-to-base32"
This reverts commit e998882ca8, reversing
changes made to 85dd22a72e.
2022-03-10 09:55:24 +01:00
Karol Wypchlo 6e3f7d76d5
Revert "Merge pull request #1832 from SkynetLabs/redirect-hns-endpoint-to-hns-subdomain"
This reverts commit 1b64969461, reversing
changes made to 7da5a24c6e.
2022-03-10 09:55:09 +01:00
Karol Wypchlo fadf7fccb8
Revert "Merge pull request #1853 from SkynetLabs/add-missing-cors-headers"
This reverts commit 85df3958c1, reversing
changes made to 8db71f57ec.
2022-03-10 09:54:18 +01:00
Karol Wypchlo 9302ec8077
add missing cors headers 2022-03-10 08:36:54 +01:00
Karol Wypchło e656bd78a3
Merge branch 'master' into include-subscription-info 2022-03-08 03:58:39 +01:00
Karol Wypchło 1b64969461
Merge pull request #1832 from SkynetLabs/redirect-hns-endpoint-to-hns-subdomain
permanent redirect some-portal.com/hns/[domain] to [domain].hns.some-portal.com
2022-03-07 23:55:21 +01:00
Karol Wypchło e78efc3cfa
Merge branch 'master' into redirect-hns-endpoint-to-hns-subdomain 2022-03-06 14:47:41 +01:00
Karol Wypchlo 55f57c9fa2
Revert "use skynet to load our homepage"
This reverts commit ffb1e499b9.
2022-03-06 14:33:23 +01:00
Karol Wypchło 0a669d8730
Merge branch 'master' into include-subscription-info 2022-03-06 13:58:23 +01:00
Karol Wypchło c7b6d17b88
Merge pull request #1830 from SkynetLabs/redirect-sdk-docs
redirect sdk docs to sdk.skynetlabs.com
2022-03-05 20:12:51 +01:00
Karol Wypchlo d53965b095
fix no args case 2022-03-04 18:21:42 +01:00
Karol Wypchło 4d523cb7bd
Merge branch 'master' into redirect-hns-endpoint-to-hns-subdomain 2022-03-04 18:07:40 +01:00
Karol Wypchlo 59347ba909
permanent redirect some-portal.com/hns/[domain] to [domain].hns.some-portal.com 2022-03-04 13:36:31 +01:00
Karol Wypchlo 600fe21611
include query args 2022-03-04 11:26:59 +01:00
Karol Wypchlo fd05cfd8c9
redirect base64 skylink to base32 subdomain 2022-03-03 22:04:55 +01:00
Karol Wypchło ccee4be9a8
Merge branch 'master' into include-subscription-info 2022-03-03 19:11:28 +01:00
Karol Wypchło 774962fba9
Merge branch 'master' into redirect-sdk-docs 2022-03-03 19:01:26 +01:00
Marcin S bd0d2dba1d
Merge pull request #1825 from SkynetLabs/enable-cors-pubkey-registration-endpoints
Enable CORS on the accounts' endpoints for registering public keys.
2022-03-03 17:43:13 +00:00
Karol Wypchlo 7a213bb05a
match also static pages like /docs/v4 2022-03-03 16:44:27 +01:00
Karol Wypchlo 3b47411f31
redirect sdk docs to sdk.skynetlabs.com 2022-03-03 16:27:19 +01:00
PJ f62e7334eb
Only cache successful responses 2022-03-03 13:44:30 +01:00
PJ 85e28dbc3f
Expose cache header 2022-03-03 13:28:39 +01:00
PJ baed1bbb2c
Add Skynet portal blocklist endpoint 2022-03-03 13:18:58 +01:00
Ivaylo Novakov b3cba9fb2d
Enable CORS on the accounts' endpoints for registering public keys. 2022-03-03 11:15:15 +01:00
Ivaylo Novakov a8dda639da
Merge pull request #1569 from SkynetLabs/enable-cors-on-logout-endpoint
enable cors on /logout endpoint
2022-03-02 17:45:23 +01:00
Karol Wypchlo e1ddb3c3dc
include subscription info in internal accounts endpoint 2022-02-28 14:24:13 +01:00
Karol Wypchlo 169d0a8d55
set portal domain header to server domain when accessing through server domain 2022-02-25 15:24:09 +01:00
Karol Wypchło b6dd4c5ef6
drop ipv6 support (#1768) 2022-02-25 09:57:55 +01:00
Karol Wypchło e1e56a60e0
Merge pull request #1727 from SkynetLabs/replace-api-env-vars-with-domains
replace api env vars with domain vars
2022-02-17 15:40:48 +01:00
Karol Wypchlo 8a536cf43c
use ngx.var.scheme instead of https 2022-02-16 15:09:33 +01:00
Karol Wypchlo f7f03d183a
replace api env vars with domain vars 2022-02-16 14:59:15 +01:00
Karol Wypchlo ce7c2cdc13
add user-agent override 2022-02-16 14:25:42 +01:00
Karol Wypchło f8f39ea936
update limit_conn to 100
Co-authored-by: Michał Leszczyk <michasko37@gmail.com>
2022-02-16 11:41:56 +01:00
Karol Wypchlo 166c452dbb
expose /skynet/trustless/basesector 2022-02-16 10:55:19 +01:00
Karol Wypchlo 1d006ef163
changelog entry 2022-02-09 17:00:01 +01:00
Karol Wypchlo d91b71ae48
escape uri on subdomain skylink requests 2022-02-09 16:47:34 +01:00
Karol Wypchlo 4e240f2ad8
add option to limit access to subscription users only 2022-01-21 17:43:30 +01:00
Karol Wypchlo 634bf8d6ba
enable cors on /logout endpoint 2022-01-19 18:08:14 +01:00
Karol Wypchlo cafa312e10
Revert "enable cors on /logout endpoint"
This reverts commit 377a154da0.
2022-01-19 18:07:43 +01:00
Karol Wypchlo 377a154da0
enable cors on /logout endpoint 2022-01-19 18:07:24 +01:00
Karol Wypchlo 15aea1da40
Merge remote-tracking branch 'origin/master' into account-only-portals 2022-01-12 13:44:36 +01:00
Karol Wypchlo c04fd5067d
introduce portals for authenticated users only 2022-01-11 17:07:57 +01:00
Karol Wypchło a7bad7411a
Merge pull request #1497 from SkynetLabs/adjust-blocklist-airtable-script
do not prune nginx cache on airtable blocklist script
2022-01-11 16:38:07 +01:00
Karol Wypchło a86cb6e5b3
Merge pull request #1533 from SkynetLabs/get-rid-of-cache-purging-code
get rid of unused cache purgin code
2022-01-11 10:21:53 +01:00
Karol Wypchlo a73858e8e9
get rid of unused cache purgin code 2022-01-10 17:10:59 +01:00
Karol Wypchlo 6a889ad793
registry subscription endpoint 2022-01-10 14:51:16 +01:00
Karol Wypchlo d24c677a30
use portal modules env to discover services in nginx 2022-01-07 11:53:16 +01:00
Karol Wypchlo 5cf5acb4e2
do not prune blocklist manually 2021-12-23 13:17:07 +01:00
Karol Wypchlo 928e038749
fix skapp link redirect 2021-12-21 16:29:41 +01:00