Mailcatcher functional in spatele unui proxy de Nginx utilizand codul de mai jos.

    location /mailcatcher {
        satisfy any;
        allow trustedip;
        deny all;
        proxy_pass  http://backendip:1080/;
    }

    location /assets {
        proxy_pass  http://backendip:1080/assets/;
    }

    location /messages {
        proxy_pass  http://backendip:1080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }