I need a reverse proxy to forward webhooks from a partner test env to several of our dev/staging environments. I could use a 3rd party service, but I’d rather use render.
I’ve been trying to deploy a simple Caddy to render but I get the following error on start
standard_init_linux.go:228: exec user process caused: operation not permitted
the render.yaml service:
- name: caddy
type: web
region: frankfurt
plan: Starter
env: docker
dockerfilePath: ./infra/caddy/Dockerfile
dockerContext: .
autoDeploy: true
the Caddyfile:
{
debug
admin off
http_port {$PORT}
}
http://localhost {
reverse_proxy https://render.com { # example
header_up Host {upstream_hostport}
}
log
}
The Dockerfile:
FROM caddy:2.6.4
COPY Caddyfile /etc/caddy/Caddyfile
The image builds and runs fine locally (at least with podman EDIT: also docker build)
podman build --tag caddy -f ./Dockerfile
podman run --env 'PORT=8383' -p 8383:8383 --name caddy --rm caddy
curl -v http://localhost:8383/
Any suggestion?