Symfony Dockerfile not working

empulse
PRO

4 months ago

Hi,

Im using the native symfony dockerfile for prod, at least the one they recommed for production but seems something is not working, I don't understand if this is related to railway domain config or due caddy+frankenphp config, can you please advice?

deployment-id: 96a1b23a-6142-4dbe-be5e-7847dd6b96b7

you can actually see the error message here: https://api.empulse.dev/

Client sent an HTTP request to an HTTPS server.

thanks!

Solved

3 Replies

4 months ago

Hello,

You need to start Caddy in HTTP only mode, I've tried to do this for you with SERVER_NAME=http://0.0.0.0:80 but it seems you have other issues with your configuration now.

Best,
Brody


Status changed to Awaiting User Response railway[bot] 4 months ago


empulse
PRO

4 months ago

this is working as expected so far SERVER_NAME=:80

thanks!


Status changed to Awaiting Railway Response railway[bot] 4 months ago


4 months ago

Hello,

You need to explicitly disable HTTPS then, Caddy is trying to issue a cert over and over.


Status changed to Awaiting User Response railway[bot] 4 months ago


Status changed to Solved brody 4 months ago