Commit 3278708a authored by Aral Balkan's avatar Aral Balkan
Browse files

Updated deploy instructions with post-deploy nginx config info. Added empty...

Updated deploy instructions with post-deploy nginx config info. Added empty post-deploy nginx config file.
parent 8730544f
......@@ -21,5 +21,23 @@ Fix:
server {
client_max_body_size 75M;
}
}
However, this requires the nginx.conf to be altered. Which would mean that it is overwritten in the next deploy. No go. So we need…
## dokku-nginx-vhosts-custom-configuration plugin
The [Dokku nginx vhosts custom configuration plugin](https://github.com/neam/dokku-nginx-vhosts-custom-configuration) lets you add custom settings to your nginx.conf after you deploy. Nice.
### Install
git clone https://github.com/neam/dokku-nginx-vhosts-custom-configuration.git /var/lib/dokku/plugins/nginx-vhosts-custom-configuration
### Use
Create a file calle `nginx.inc.conf` in the app and commit it. Then, on the server:
dokku config:set <app> NGINX_VHOSTS_CUSTOM_CONFIGURATION=nginx.inc.conf
Remember that the app name is the full domain of the app you used when deploying (e.g., for us its `iam.ind.ie`).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment