invoiceninja / dockerfiles

Docker files for Invoice Ninja
https://hub.docker.com/r/invoiceninja/invoiceninja
GNU General Public License v2.0
418 stars 268 forks source link

feat(helm): permit specifying additionalServerBlockConfig #551

Closed clementnuss closed 11 months ago

clementnuss commented 11 months ago

permits configuring an additional serverBlockConfig for nginx which can be used to prevent caching of PDFs when using a CDN (such as Cloudlfare) in front of InvoiceNinja, as documented in the troubleshooting section:

https://invoiceninja.github.io/en/self-host-troubleshooting/#pdfs-dont-appear-to-be-updating

turbo124 commented 11 months ago

@clementnuss in the most recent version, we no longer cache the PDFs, they are generated dynamically now so this should not be required

clementnuss commented 11 months ago

ah great! then there's no point, indeed 👍🏼