Using the mirror module

Kenny Meyer knny.myer at
Tue Mar 13 20:37:52 UTC 2018


I’m having trouble using the new mirror module. I want to mirror incoming requests from Nginx to other upstream servers. 1) a production server 2) a staging server

This is my config:

server {
        listen 80 default_server;
        listen [::]:80 default_server;

        location / {
            mirror /mirror;

        location /mirror {

So, I request (where Nginx is hosted) and it successfully redirects me to, however I don’t see any requests hitting 

What could be the error?

More information about the nginx mailing list