mailiverse/install/setup-web.remote

19 lines
286 B
Plaintext
Raw Normal View History

2013-09-01 12:19:41 -04:00
set -x
2013-09-01 18:48:43 -04:00
apt-get install nginx --yes
2013-09-01 18:17:08 -04:00
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