title: How do I set nginx configuration settings on a per app basis in Dokku?
body: <p>I need to increase the <code>client_max_body_size</code> setting for a single app I have installed on a Dokku Paas. I could edit the nginx configuration globally, but that would be brittle, and I would like this setting to live with the app config where possible.</p>
  
  <p>I have seen some plugins that help rewrite the nginx.conf file (eg. <a href="https://github.com/mikexstudios/dokku-nginx-alt" rel="noreferrer">https://github.com/mikexstudios/dokku-nginx-alt</a>), but that seems like overkill when I only want to change a single setting.</p>
  
  <p>I have also noticed the <code>nginx-configure</code> plugin hook (<a href="https://github.com/progrium/dokku/pull/189" rel="noreferrer">https://github.com/progrium/dokku/pull/189</a>), but I could not find clear instructions on how to use this from an app (where would I put the hook script, for example?).</p>
  
  <p>What is the cleanest, most maintainable and most portable method of setting a single nginx configuration parameter on a per app basis?</p>