my client has a quite complex setup and we ran into some problems with that.
They run several docker containers and an Nginx reverse proxy in front of it. We installed a new Docker container with PHP5.6, Apache and mbstring extension. Then I cloned my git repo that has all kirby files and folders, including my site and assets.
The problem:
Images are running into 404 (not found)
Another symptom is that the panel is not accessible. The server times out.
I know this is very vague and I don’t have direct access to the server unfortunately. Can you maybe make an educated guess on what might be the issue?
my initial description of the problem was wrong and I edited it now. There is no problem with the way URLs/URIs are generated. For your information: ->url() generates an absolute path and ->uri() generates a relative path. Sorry for the confusion.
I am starting to think that it has to be the reverse proxy settings.
What kind of file URLs do you get after the reverse proxy? Regarding the Panel issue: Does it only affect the Panel? If so, does it work without the reverse proxy?
What kind of 404 do you get? One from Kirby or one from nginx? Could be that nginx does not properly forward requests to Kirby. Those file URLs without the content directory in the path only work with Kirby.