mailiverse/install/setup-web.remote
2013-09-01 18:48:43 -04:00

19 lines
286 B
Plaintext
Executable File

set -x
apt-get install nginx --yes
cp sudoers.d-web /etc/sudoers.d/web
chmod 0440 /etc/sudoers.d/web
cd /etc/nginx
ln -s /home/web/resources/nginx-ssl.crt
ln -s /home/web/resources/nginx-ssl.key
cd conf.d
ln -s /home/web/resources/nginx.conf
cd /var/local
mkdir www
chown web www