It seems like nginx can be run by www-data as well. So:

Delete:
sudo('adduser --system --no-create-home --disabled-login --disabled-password 
--group nginx')

Edit:
sudo('cd /opt/nginx*/; ./configure --prefix=/opt/nginx --user=www-data 
--group=www-data --with-http_ssl_module')

If anyone has an tips, suggestions or corrections, please let me know. I am 
relatively new to all of this.

Reply via email to