mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 05:05:46 +02:00
nginx section
This commit is contained in:
@@ -30,5 +30,9 @@ stop nginx-reloader
|
||||
start nginx-reloader
|
||||
echo $HOSTNAME > /home/git/DOMAIN
|
||||
|
||||
# configure and start nginx
|
||||
echo "include /home/git/*/nginx.conf;" > /etc/nginx/conf.d/dokku.conf
|
||||
/etc/init.d/nginx start
|
||||
|
||||
echo "Be sure to upload a public key for your user:"
|
||||
echo " cat ~/.ssh/id_rsa.pub | ssh root@$HOSTNAME \"gitreceive upload-key progrium\""
|
||||
Reference in New Issue
Block a user