DiUS / pact_broker-docker

'Dockerised' pact broker
http://pact.io
MIT License
76 stars 102 forks source link

Increase client max body size in the nginx #101

Closed victoreduardo closed 3 years ago

victoreduardo commented 3 years ago

Changes:

When send a file more than 1MB this error is displayed:

 Could not publish pact:
    Failed to publish ui/api pact due to error: PactBroker::Client::Error - <html>
    <head><title>413 Request Entity Too Large</title></head>
    <body bgcolor="white">
    <center><h1>413 Request Entity Too Large</h1></center>
    <hr><center>nginx/1.14.0 (Ubuntu)</center>
    </body>
    </html>
    One or more pacts failed to be published
bethesque commented 3 years ago

I've increased it to 10MB, but 200 seems excessive!