Questions tagged [jwilder-nginx-proxy]

Questions related to the jwilder/nginx-proxy docker image

The jwilder/nginx-proxy docker image

186 questions
0
votes
2 answers

Can't reach a Wordpress website through nginx-proxy in Docker

I'm trying to reach my existing instance of Wordpress through a Docker configuration. My plan is to have a few websites running on my VPS, so I wanted to go for this Docker setup. First, my jwilder/nginx-proxy file: version: '3' services: nginx: …
rmartrenado
  • 1,516
  • 1
  • 18
  • 42
0
votes
1 answer

Deny access include file not working in nginx conf

Include not taken into account to deny access to certain ip Nginx 1.12 is configured as a proxy. I have 2 config files : nginx.conf mydomain.conf I followed a tuto to have a list of deny ip list, all in a 3rd conf file called…
Dave Code
  • 11
  • 1
  • 7
0
votes
1 answer

How to access an app running on a theia docker container behind nginx-proxy?

I am running a theia docker container behind a nginx-proxy server container (jwilder/nginx-proxy). Inside theia, I am running a simple ExpressJS app on port no. 8001. I am able to access the container publicly using a sub-domain. How do I access the…
abhi
  • 11
  • 2
0
votes
1 answer

Accessing nginx-proxy from a browser

nginx-proxy relies extensively on the use of the Host header. However, most browsers do not allow you to manually set the Host header. If you try, you will get the error Refused to set unsafe header "Host". So how am I supposed to send a request…
J. Munson
  • 2,275
  • 2
  • 17
  • 22
0
votes
0 answers

docker nginx-proxy with vhost not routing correctly

I have a docker with 2 containers for serving individual sites and jwilder/nginx-proxy in front of them. However I'm only getting the default nginx page, so the vhosts aren't routing correctlty. I've used…
vim
  • 45
  • 1
  • 9
0
votes
0 answers

how to config nginix for reversproxy to other container

I have an app that create a subdomain with optimized front-end for every user (panel.userdomain.com). I config my dns server but i don't know how to config nginx to map a container. I explain my process register user, submit a domain, dns server…
0
votes
1 answer

Docker angular app containers hosted by a Nginx container ideas

Plan A Building a docker image for each Angular app Using the docker image independently probably in a separate container for each angular app One Nginx container that will host all the pluggable containers So, step 1 and 2 and are straight…
0
votes
1 answer

How to setup nginx-proxy to choose right container without needing the port number

Im trying to setup an nginx proxy on a Google Compute VM. So I'd like my domain name (www.example.com) to goto the right container. But for some reason, it only works if I put the port number in the address bar (www.example.com:3001), which totally…
0
votes
1 answer

Docker mis-forwarding ports

I have several domains sharing one public IP (EC2 instance). My setup is like this: /home/ubuntu contains docker-compose.yml: version: '3' services: nginx-proxy: image: "jwilder/nginx-proxy" container_name: nginx-proxy volumes: -…
oooyaya
  • 1,773
  • 1
  • 15
  • 39
0
votes
0 answers

503 responses with jwilder/nginx-proxy from docker-compose nginx setup

I have a server that runs ssl (certbot) nginx and points all traffic to port 5555 where my nginx-proxy is running. I'm trying to get it to route all my traffic to the appropriate services. Here is my docker-compose setup: nginx-proxy: …
0
votes
0 answers

How can I use nginx-proxy to reverse-proxy a website that is not running in a container?

I understand how to use nginx-proxy so that I can reverse proxy to services running in multiple docker containers. However I have several websites on my network that are not running in containers that I also want to reverse proxy. In the official…
WhiskerBiscuit
  • 4,795
  • 8
  • 62
  • 100
0
votes
1 answer

Understanding Docker Compose Nginx-Proxy with Docker-Alpine-Python-Flask

I have some problem when using Docker. My problem is understanding reverse proxy when using docker-compose and this library https://github.com/jwilder/nginx-proxy so i have 1 Dockerfile like, here : FROM alpine:latest COPY requirements.txt…
0
votes
1 answer

nginx-proxy doesn't work with swagger-ui docker container 502 Bad Gateway

I would like to change my local urls from 'localhost:port' to project related urls. Every other container in the stack (Node server etc.) works but only swagger container gives error 502 Bad Gateway. I add this to my /etc/hosts file: 127.0.0.1 …
0
votes
1 answer

After Nginx and the backend server establish a connection timeout, I want Nginx to return json data to the client. How to configure it?

Suppose the requirements are like this: The port that Nginx listens on is 80, and the backend server domain name is assumed to be: http://hello.com, Nginx accepts the request from the client as a proxy, and Nginx forwards the request to…
0
votes
2 answers

Fail2ban matches regex but banned ip seems wrong when monitoring traffic from docker container?

The short summary: I am attempting to configure fail2ban on a host which monitors traffic in a docker container. My fail2ban matches, and fail2ban does indeed ban the ip address. But the ip address it bans is wrong? The setup and diagnosis Running…