About 1,290,000 results
Open links in new tab
  1. How to run Nginx within a Docker container without halting?

    Docker and all the tooling around docker is expecting that exactly one service is running inside the container. If you need to run a full-fledged Linux distribution inside a container, lxd or systemd …

  2. docker - Nginx Reverse Proxy: Throwing 502 Bad Gateway - Stack …

    Nov 24, 2022 · I assume your other services are Docker container as well? If that is the case you could try to change localhost to their containername and use Docker-dns. But you need to put …

  3. Adding SSL certs to NGINX docker container - Stack Overflow

    Jul 18, 2018 · I'm trying to add SSL certs (generated with LetsEncrypt) to my nginx. The nginx is built from a docker-compose file where I create a volume from my host to the container so the …

  4. logging - Have nginx access_log and error_log log to STDOUT and …

    When running Nginx in a Docker container, be aware that a volume mounted over the log dir defeats the purpose of creating a softlink between the log files and stdout/stderr in your …

  5. nginx docker container: 502 bad gateway response

    May 28, 2017 · The Problem Localhost is a bit tricky when it comes to containers. Within a docker container, localhost points to the container itself. This means, with an upstream like this: …

  6. How to configure nginx with multiple docker-compose.yml files?

    Jan 3, 2018 · If I want to setup nginx with my docker containers, one option is to setup the nginx instance in my docker-compose.yml, and link the nginx container to all application containers. …

  7. php - Nginx 504 gateway timeout with Docker - Stack Overflow

    Jun 7, 2019 · I'm using PHP and Apache with nginx for a reverse proxy, all on Docker, and I have a couple of long running calls that are timing after 60 seconds, resulting in a 504 Gateway …

  8. Docker Networking - nginx: [emerg] host not found in upstream

    Nov 11, 2015 · I have recently started migrating to Docker 1.9 and Docker-Compose 1.5's networking features to replace using links. So far with links there were no problems with nginx …

  9. Docker Network Nginx Resolver - Stack Overflow

    Mar 2, 2016 · I am trying to get rid of deprecated Docker links in my configuration. What's left is getting rid of those Bad Gateway nginx reverse proxy errors when I recreated a container. …

  10. How can I use environment variables in Nginx.conf - Server Fault

    Feb 21, 2014 · I have a docker container running Nginx, that links to another docker container. The host name and IP address of the second container is loaded into the Nginx container as …