Open rodriguez-facundo opened 4 years ago
Steps to reproduce:
ping host.docker.internal
# dockerfile FROM nginx:1.17-alpine COPY default.conf /etc/nginx/conf.d
# default.conf server { listen 8999; server_name localhost; location / { proxy_pass http://192.168.65.2:8081/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; proxy_set_header Origin ""; proxy_connect_timeout 30; proxy_send_timeout 30; proxy_read_timeout 30; send_timeout 30; } }
Steps to reproduce:
ping host.docker.internal
from a local running container (should give you something like 192.168.65.2)