How to make InvoiceNinja work with Double Nginx (Reverse Proxy)

Maybe this will help: