OK, I don’t have a rootless setup here to test that, sorry, but all I can say is that according to your nginx logs (mm.access.log), the requests are not hitting the container for the default VHOST and I’m unsure about how to debug that further.
Looking at the default nginx config, a request to /robots.txt should immediately return the robots.txt and HTTP 200:
→ This does not work on your server, it’s also redirecting in and endless loop, so something is really wrong here with your setup and I think we may need to continue debugging on your rootless configuration.
Can you describe this setup, please? Can you deploy a vanilla nginx container out of docker hub f.ex. and successfully access files in it when running on port 443?
First, thank you so much for your patience and interest (and I am learning heaps re docker debugging).
Now, rootless setup:
using /home/ifb-user/bin/dockerd-rootless.sh as shown above
and running docker daemon as ‘systemctl --user’ for a user (ifb-user) who is a password-less and sudo-less user
btw, this was the reason why my previous issue here #14062 has to be solved using a mapping from the rootless container to ifb-user’s name space (and not 2000)
Nginx: I am not good with docker, nginx container etc…
However, I tried the setup ‘wi’hout nginx’ and running nginx as a global service (systemctl nginx), and configuring the nginx backend as localhost:8065
→ without luck, I had the same pb
and still, I am running other publicly facing vms with a setup rootless docker + global ngnix service and all works well
So I don’t know what to say, or do:
Can you deploy a vanilla nginx container out of docker hub f.ex. and successfully access files in it when running on port 443?
I am not sure if I know how to do that…
in other word: how to make a vanilla nginx docker talk to the other containers…
Hello: indeed, I did find the culprit. The HAproxy behind which the machine sat was uncorrectly configured. It took a long time (and lots of effort) to figure that one out (and one I have no control over).
Thanks again.