Hello to you all!
By attempting to take advantage of Storj awesomeness, I was trying to deploy some resources for my static website. I would like to publish my assets
bucket on http://assets.tommi.space
. Unfortunately, it does not work.
I already thoroughly read the other posts about static website publishing issues, nevertheless I am still having trouble.
My steps
- Uploading to the
assets
bucket all of my files and folders, via web browser - Running
uplink share --dns assets.tommi.space sj://assets/ --base-url link.eu1.storjshare.io
on my MacOS device, getting as a result (DELETED_FOR_SECURITY_REASONS
are strings I replaced to make sure posting here is safe):
Sharing access to satellite 12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs@eu1.storj.io:7777
=========== ACCESS RESTRICTIONS ==========================================================
Download : Allowed
Upload : Disallowed
Lists : Allowed
Deletes : Disallowed
NotBefore : No restriction
NotAfter : No restriction
Paths : sj://assets/ (entire bucket)
=========== SERIALIZED ACCESS WITH THE ABOVE RESTRICTIONS TO SHARE WITH OTHERS ===========
Access : DELETED_FOR_SECURITY_REASONS
========== CREDENTIALS ===================================================================
Access Key ID: jxfhdmvxnvexchbmawmlejtvg2eq
Secret Key : DELETED_FOR_SECURITY_REASONS
Endpoint : https://gateway.us1.storjshare.io
Public Access: true
=========== DNS INFO =====================================================================
Remember to update the $ORIGIN with your domain name. You may also change the $TTL.
$ORIGIN example.com.
$TTL 3600
assets.tommi.space IN CNAME .
txt-assets.tommi.space IN TXT storj-root:assets
txt-assets.tommi.space IN TXT storj-access:jxfhdmvxnvexchbmawmlejtvg2eq
- I add to my Gandi DNS zone the following:
assets 3600 IN CNAME link.eu1.storjshare.io.
txt-assets 3600 IN TXT "storj-access:jxfhdmvxnvexchbmawmlejtvg2eq"
txt-assets 3600 IN TXT "storj-root:assets/"
- If I try to insert
$ORIGIN assets.tommi.space.
, I get the errorassets.tommi.space.: is not a valid datatype
- I have the file
zattere.jpg
in the root of myassets
bucket; if I try to visithttp://assets.tommi.space/zattere.jpg
, I see this:
- If I go on the web browser platform and I click on “share” for
zattere.jpg
, the file is perfectly reachable athttps://link.eu1.storjshare.io/s/jxi37mc2nnhwyztah5jo6ctfe7oq/assets/zattere.jpg
(I did notice that the access code in this link is different with respect to the one in my DNS zone. I tried to replace it, but the outcome is the same) - The DNS propagation shows that the URL does not point to a Fastly server at all
What can I do? Is there something I am missing or there is some bug somewhere?
Thanks a lot in advance!
Best,
Tommi