Nginx dockerized accessing host IIS website on a given port

I’m running docker on windows 10. Some details form docker info

Server Version: 17.06.0-ce
Operating System: Alpine Linux v3.5

  • Why can I see the docker container process when I do a “ps aux” on the host?
  • How to sort by name `docker service ls`
  • Windows base image for docker
  • Class 'MongoId' not found in Laradock application
  • Routing paths with Traefik
  • Not able to start a pod in minikube by pulling image from external private registry
  • I need to use nginx as reverse porxy to web app running under my local IIS(e.g. http://localhost:90)

    that’s my nginx default.config

    server {
        listen 4430;
        server_name localhost;
        #root /usr/share/nginx/html;
        location / {
            #proxy_pass;#does not work
        ssl_certificate /etc/nginx/server.crt;
        ssl_certificate_key /etc/nginx/server.key;
        ssl on;
        ssl_session_cache  builtin:1000  shared:SSL:10m;
        ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
        ssl_prefer_server_ciphers on;

    I’m using the IP to access my host from the container (nginx)
    It works as expected if I do not specify the port.
    What should I do/configure to be able to access my host(IIS website) on a specific port?

  • Docker on Mac behind proxy that changes ssl certificate
  • Docker 500 error
  • Docker won't change VHD location
  • How to run and install Protractor E2E tests in Docker container for Laravel?
  • docker apache passenger: error cannot load such file bundler/setup (LoadError)
  • Connecting from a docker container to the host?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.