I install Bunkerweb with Docker compose, with extra_hosts: - host.docker.internal:host-gateway which mapped IP address of the host 172.17.0.1 to host.docker.internal inside container's /etc/hosts.
Since I wanna proxy a server from the host, I add a service with Reverse proxy host http://host.docker.internal:19999
But I got 502 Bad Gateway when access the website, and the log says 2024/09/03 15:41:30 [error] 2857#2857: *2169 host.docker.internal could not be resolved (3: Host not found),
How to reproduce?
install Bunkerweb using Docker compose, with extra_hosts: - host.docker.internal:host-gateway
What happened?
I install Bunkerweb with Docker compose, with
extra_hosts: - host.docker.internal:host-gateway
which mapped IP address of the host172.17.0.1
tohost.docker.internal
inside container's/etc/hosts
.Since I wanna proxy a server from the host, I add a service with Reverse proxy host
http://host.docker.internal:19999
But I got 502 Bad Gateway when access the website, and the log says
2024/09/03 15:41:30 [error] 2857#2857: *2169 host.docker.internal could not be resolved (3: Host not found),
How to reproduce?
extra_hosts: - host.docker.internal:host-gateway
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.5.9
What integration are you using?
Docker
Linux distribution (if applicable)
Rockylinux
Removed private data
Code of Conduct