1
0
Fork 0

invoice-ninja: Fix document upload feature

Invoice Ninja allows attaching documents to invoices, payments,
expenses, etc.  Tabitha wants to use this feature to attach receipts for
her expenses, but the photos her phone takes of them are too large for
the default nginx client body limit.  We can raise this limit on the
ingress, but we also need to raise it on the "inner" nginx.
xactmon-doc
Dustin 2024-07-27 13:04:02 -05:00
parent e74a6b3142
commit 079c3871b9
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@ metadata:
labels:
app.kubernetes.io/name: invoice-ninja
app.kubernetes.io/component: invoice-ninja
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 40m
spec:
rules:
- host: invoiceninja.pyrocufflink.blue

View File

@ -37,6 +37,8 @@ http {
charset utf-8;
client_max_body_size 0;
location / {
try_files $uri $uri/ /index.php?$query_string;
}