summarylogtreecommitdiffstats
path: root/dokku.install
diff options
context:
space:
mode:
authorMartin -nexus- Mlynář2015-07-25 23:10:09 +0200
committerMartin -nexus- Mlynář2015-07-25 23:10:09 +0200
commite9fe8e0a29d2721dd039e2ab8329e050e94fbddf (patch)
treee44f08248f3bc99c59521847d1a2c6be9ac51238 /dokku.install
parent71d4153881ea0520d9e5d52806d6fe69975f35c9 (diff)
downloadaur-e9fe8e0a29d2721dd039e2ab8329e050e94fbddf.tar.gz
nginx config, remove install scripts for plugins
install stuff is managed by package manager
Diffstat (limited to 'dokku.install')
-rw-r--r--dokku.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/dokku.install b/dokku.install
index 3fa008e9d726..ad1ffc460a30 100644
--- a/dokku.install
+++ b/dokku.install
@@ -21,9 +21,14 @@ post_install() {
chown dokku:dokku "/var/dokku/HOSTNAME"
fi
+ echo "%dokku ALL=(ALL) NOPASSWD:/etc/init.d/nginx reload, /usr/sbin/nginx -t" > /etc/sudoers.d/dokku-nginx
+
echo "
Please add your ssh pubkey like:
$ cat ~/.ssh/id_rsa.pub | sudo sshcommand acl-add dokku comment
+
+ To enable nginx autoconfiguration, add to your /etc/nginx/nginx.conf in http section:
+ include /etc/nginx/conf.d/*.conf;
"
}