Caddy with cloud run, is it possible somehow?

1. The problem I’m having:

Hello caddy community,
I wanted to ask if someone successfully setup caddy with Google Cloud Run or is even possible?
I was trying to use caddy with google cloud run but without any success.
Added a load balancer on google cloud to get an IP for cloud run but you can add only one port on cloud run to listen either 80 or 443.
Is it possible to use cloud run, or I need to setup with Instance groups and an http load balancer?

2. Error messages and/or full log output:

When I connect my domain with IP from load balancer it shows this error on browser
I am seeing that the caddy setup is good( health endpoint), just the certificates are not generated.

Is the load balancer in TCP mode, or in HTTP mode? It should work fine if in TCP mode.

If it’s in HTTP mode and terminates TLS, then Caddy won’t be able to automate TLS issuance.

The load balancer is in Http mode, I cannot select Cloud run services on TCP mode.
I don’t think it will work then.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.