Jan Saidl
Jan Saidl
ZZerops
Created by </Kwishna😼> on 3/17/2025 in #💪・community-support
Method Not Allowed
Hi @</Kwishna😼> the following code works for me:
TOKEN="YOUR_TOKEN"

curl -s -H "Authorization: Bearer $TOKEN" "https://api.app-prg1.zerops.io/api/rest/public/auth/info"
TOKEN="YOUR_TOKEN"

curl -s -H "Authorization: Bearer $TOKEN" "https://api.app-prg1.zerops.io/api/rest/public/auth/info"
2 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
No description
52 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
This is the right reward for implementing a new feature 🫡 Thanks
52 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
I think the problem is that the proxy on the A record in combination with a shared IPv4 address does not work.
52 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
try to remove A records please
52 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
contentbase.blog is pointing wrong IPv6
52 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
No description
52 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
Hi @Amos , you need to create a CNAME record to authenticate with LetsEncrypt. Thanks to it we can then issue a wildcard certificate. _acme-challenge.contentbase.blog CNAME contentbase.blog.zerops.zone
52 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
yeah only one file, /app/server is source file
zerops:
- setup: bun
build:
base: bun@latest
buildCommands:
- bun install --frozen-lockfile
- bun build main.ts --compile --outfile server
deployFiles:
- ./server
run:
base: bun@latest
start: ./server
ports:
- port: 3000
httpSupport: true
zerops:
- setup: bun
build:
base: bun@latest
buildCommands:
- bun install --frozen-lockfile
- bun build main.ts --compile --outfile server
deployFiles:
- ./server
run:
base: bun@latest
start: ./server
ports:
- port: 3000
httpSupport: true
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
The basic zerops.yml could look like this: 1. create service bun 2. create zerops.yml with: (change port if needed)
zerops:
- setup: bun
build:
base: bun@latest
buildCommands:
- bun install --frozen-lockfile
- bun build main.ts --compile --outfile server
deployFiles:
- ./app/server
- ./server
run:
base: bun@latest
start: ./server
ports:
- port: 3000
httpSupport: true
zerops:
- setup: bun
build:
base: bun@latest
buildCommands:
- bun install --frozen-lockfile
- bun build main.ts --compile --outfile server
deployFiles:
- ./app/server
- ./server
run:
base: bun@latest
start: ./server
ports:
- port: 3000
httpSupport: true
3. run zcli push
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
zerops:
- setup: proxy
run:
base: static
routing:
redirects:
- from: /*
to: ${teststorage_apiUrl}/${teststorage_bucketName}/
preserveQuery: true
preservePath: true
status: 301
zerops:
- setup: proxy
run:
base: static
routing:
redirects:
- from: /*
to: ${teststorage_apiUrl}/${teststorage_bucketName}/
preserveQuery: true
preservePath: true
status: 301
This is a simple proxy that will redirect (301) to the content in the teststorage objectstorage. 👆
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
Otherwise it is possible to use image proxy to access images on objectstorage. It has many more functions like image manipulation. But it is more complex to integrate into the application. We have an experimental recipe for this: https://github.com/zeropsio/recipe-imgproxy/ https://github.com/imgproxy/imgproxy
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
I hope we will be able to make this available as soon as possible.
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
We already have a functional infrastructure and are working on the integration into the platform.
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
We are working on a integrated CDN function where this will be possible.
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
You can also add this proxy to another container where nginx is.
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
Simple nginx proxy with minmal resources approximately $0.7/month ?
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
try this:
❯ dig +short testapi.soon.it AAAA
2a00:1ed0:1100::160:0:fc4
❯ dig +short testapi.soon.it AAAA
2a00:1ed0:1100::160:0:fc4
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
If you visited the site locally, the domain has an hour TTL, so it may take a while.
47 replies