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
parent
e74a6b3142
commit
079c3871b9
|
@ -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
|
||||
|
|
|
@ -37,6 +37,8 @@ http {
|
|||
|
||||
charset utf-8;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue