dokku-nginx-conf.d-files

Simple management of files in nginx.conf.d directory for an application. Nginx will include any file from that directory if its filename matches *.conf pattern. Besides, you can use it to put a file with trusted CA certificates in the PEM format used to verify client certificates and OCSP responses, then refer it in "ssl_trusted_certificate" directive and enable ssl_stapling.

Installation

# dokku 0.4+
dokku plugin:install https://github.com/abulava/dokku-nginx-conf.d-files.git

Usage

# Print all files in nginx.conf.d for an application
dokku nginx:conf.d:print <app>

# Import a file from stdin to nginx.conf.d for an application
dokku nginx:conf.d:add <app> <filename>

# Remove a file in nginx.conf.d for an application
dokku nginx:conf.d:remove <app> <filename>

License

This plugin is released under the MIT license. See the file LICENSE.