Replies: 2 comments 7 replies
-
Try setting the |
Beta Was this translation helpful? Give feedback.
7 replies
-
Ok, have found the issue. Running either:
Is making the system-level env vars inaccessible for some reason 🤷 Taking these out and FrankenPHP starts as expected, with Render doing the HTTPS termination. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
Hi there,
I'm trying to get a pretty standard Laravel app deployed on a Render web service instance.
Here's my Dockerfile:
Locally, if I run (from the docs):
docker run -p 80:80 -p 443:443 -p 443:443/udp -v $PWD:/app dunglas/frankenphp
Everything works as expected.
On Render, when I deploy everything seems to build and start correctly, I even get the default Laravel uptime endpoint (
/up
) returning something positive as the healthcheck passes, however if I try to visit the site in a browser I get the "TOO MANY REDIRECTS" error.I've tried clearing my cookies, different browsers and tweaking the ports exposed but nothing seems to help. I don't really have anything special set up in the environment as shown below:
I think the issue might be something to do with the default port binding and/or proxying from HTTPS -> HTTP but I don't know enough about this to get it working.
Any ideas welcomed! Thanks in advance
Build Type
Docker (Debian Bookworm)
Worker Mode
No
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
No response
Beta Was this translation helpful? Give feedback.
All reactions