Company Logo in dashboard but not in invoices

Company logo shows up in dashboard but not in invoices.
I can access it trough comany.com/storage/alsasdfasdf/asdfasdfas.png.

Disclaimer: InvoiceNinja is running behind a reverse proxy. White label applied.

Hi,

It may help to set LOCAL_DOWNLOAD=true in the .env file

https://invoiceninja.github.io/docs/env-variables/

Unfortunately this does not help.

Laravel and nginx log seems empty.

@david do you have any suggestions?

Found a solution :slight_smile:

I guess the invoice asks for the logo by asking for
domain.com/storage/asdfasdflsdakf/alsdfjaldfs.png

The problem with the reverse proxy is that the Invoice Ninja host has IP 192.168.1.10 and the proxy 192.168.1.20.

Now if proxy asks for domain.com it gets the public IP 86.125.125.13 that points to the firewall.
So I set a override for the local unbound DNS. Now if Ninja asks for domain.com it gets 192.168.1.20 as an answer.

Not sure what LOCAL_DOWNLOAD really does, so I will remove it.

1 Like