zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.27k stars 281 forks source link

Nginx sending 413 Request Entity Too Large using clientUploadLimit #1202

Open EloyID opened 3 years ago

EloyID commented 3 years ago

Mup version (mup --version): 1.5.1

Mup config

{
  "servers": {
    "one": {
      "host": "1.2.3.4",
      "username": "username",
      "password": "password"
    }
  },
  "app": {
    "name": "my-app",
    "path": "../",
    "servers": {
      "one": {}
    },
    "buildOptions": {
      "serverOnly": true
    },
    "env": {
      "ROOT_URL": "https://subdomain.host.com",
      "MONGO_URL": "mongodb+srv://user:pass@subdomain.subdomain.host.com/development?retryWrites=true&w=majority",
      "VIRTUAL_HOST": "xxx.xxx.com",
      "HTTPS_METHOD": "redirect",
      "LETSENCRYPT_HOST": "xxx.xxx.com",
      "LETSENCRYPT_EMAIL": "email@email.com",
      "VIRTUAL_PORT": 3000,
      "HTTP_FORWARDED_COUNT": 1
    },
    "docker": {
      "image": "abernix/meteord:node-12-base",
      "buildInstructions": [
        "RUN apt update && apt install -y graphicsmagick"
      ],
      "stopAppDuringPrepareBundle": true,
      "imagePort": 3000
    },
    "enableUploadProgressBar": true,
    "type": "meteor"
  },
  "proxy": {
    "domains": "xxx.xxx.com",
    "clientUploadLimit": "50M", //also tried "0"
    "ssl": {
      "letsEncryptEmail": "email@email.com",
      "forceSSL": true
    }
  }
}

Output of command

413 Request Entity Too Large
nginx/1.17.5

Hi! I'm trying to use webdav to send files throught my server and I get the nginx error 413 Request Entity Too Large and I'm not sure how to solve it :)

Thanks for your help

EloyID commented 3 years ago

Has anybody an idea of how this can be solved ? Thank you :)

IBRAHIMDANS commented 3 years ago

I have the same issue 😔

naturom commented 3 years ago

+1

asambhavDeveloper commented 3 years ago

same issue