Allow SSH and nginx to be more easily configured
This MR allows SSH and nginx to be more easily configured using gdk.yml
or gdk.example.yml
:
SSH
-
sshd_enabled
- Enablesshd
to run inProcfile
(defaultfalse
) -
sshd_ip
- The IP address sshd should listen on (default127.0.0.1
) -
sshd_port
- The port sshd should listen on (default2222
)
We also now default to using the DB to validate SSH keys by default.
nginx
-
nginx_enabled
- Enablenginx
to run inProcfile
(defaultfalse
) -
nginx_bin
- The full path to thenginx
binary (defaultfind_executable!('nginx') || '/usr/sbin/nginx'
) -
nginx_ip
- The IP address nginx should listen on (default127.0.0.1
) -
nginx_workhorse_port
- The port nginx should connect to workhorse on (default3333
) -
nginx_https_port
- The port nginx should listen on for HTTPS (default3443
) -
nginx_ssl_certificate_filename
- The SSL cert filename nginx should look for (defaultlocalhost.crt
) -
nginx_ssl_certificate_key_filename
- The SSL key filename nginx should look for (defaultlocalhost.key
)
Edited by Ash McKenzie