Increase nginx client max body size, split size legacy migration

- allows the client to send files at least the size we agreed in the vue-dropzone
- we don't need such a small split size as we don't run it on the remote server
This commit is contained in:
Matt Rider 2019-08-27 18:03:50 +02:00
parent 0bf0ca0b8d
commit 907233cbc9
2 changed files with 13 additions and 12 deletions

View File

@ -7,20 +7,21 @@ metadata:
kubernetes.io/ingress.class: "nginx" kubernetes.io/ingress.class: "nginx"
certmanager.k8s.io/issuer: "letsencrypt-staging" certmanager.k8s.io/issuer: "letsencrypt-staging"
certmanager.k8s.io/acme-challenge-type: http01 certmanager.k8s.io/acme-challenge-type: http01
nginx.ingress.kubernetes.io/proxy-body-size: 6m
spec: spec:
tls: tls:
- hosts: - hosts:
# - nitro-mailserver.human-connection.org # - nitro-mailserver.human-connection.org
- nitro-staging.human-connection.org - nitro-staging.human-connection.org
secretName: tls secretName: tls
rules: rules:
- host: nitro-staging.human-connection.org - host: nitro-staging.human-connection.org
http: http:
paths: paths:
- path: / - path: /
backend: backend:
serviceName: nitro-web serviceName: nitro-web
servicePort: 3000 servicePort: 3000
# - host: nitro-mailserver.human-connection.org # - host: nitro-mailserver.human-connection.org
# http: # http:
# paths: # paths:

View File

@ -12,6 +12,6 @@
# On Windows this resolves to C:\Users\dornhoeschen\AppData\Local\Temp\mongo-export (MinGW) # On Windows this resolves to C:\Users\dornhoeschen\AppData\Local\Temp\mongo-export (MinGW)
EXPORT_PATH='/tmp/mongo-export/' EXPORT_PATH='/tmp/mongo-export/'
EXPORT_MONGOEXPORT_BIN='mongoexport' EXPORT_MONGOEXPORT_BIN='mongoexport'
MONGO_EXPORT_SPLIT_SIZE=100 MONGO_EXPORT_SPLIT_SIZE=4000
# On Windows use something like this # On Windows use something like this
# EXPORT_MONGOEXPORT_BIN='C:\Program Files\MongoDB\Server\3.6\bin\mongoexport.exe' # EXPORT_MONGOEXPORT_BIN='C:\Program Files\MongoDB\Server\3.6\bin\mongoexport.exe'