Quantcast
Channel: Nginx reverse proxy with variable names for docker container returns wrong files - Server Fault
Browsing latest articles
Browse All 3 View Live

Answer by schube for Nginx reverse proxy with variable names for docker...

With the help of @jonathan-rioux this is the working config now:location ~* ^/phpmyadmin/(.*)$ { resolver 127.0.0.11 valid=30s; set $query $1; set $target...

View Article



Answer by Jonathan Rioux for Nginx reverse proxy with variable names for...

Your nginx service must resolve the phpmyadmin container ip by using the "service name", not the "container name". Also, you must keep the /phpmyadmin path in the URL when you proxy the request to the...

View Article

Nginx reverse proxy with variable names for docker container returns wrong files

I read a lot and tried a lot, but in the end, nothing worked. I hope, you can help me. So here is my setup:I have a Docker-compose file which contains a phpmyadmin container. My problem is not limited...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images