mailiverse/install/setup-web.remote

21 lines
340 B
Plaintext
Raw Normal View History

2013-09-01 12:19:41 -04:00
set -x
sudo ./setup-nginx.remote
sudo mkdir -p /var/log/nginx
chdown nginx /var/log/nginx
2013-09-01 18:17:08 -04:00
cp sudoers.d-web /etc/sudoers.d/web
chmod 0440 /etc/sudoers.d/web
cd /opt/nginx/conf
ln -fs /home/web/resources/nginx-ssl.crt
ln -fs /home/web/resources/nginx-ssl.key
ln -fs /home/web/resources/nginx.conf
2013-09-01 18:17:08 -04:00
cd /var/local
mkdir www
chown web www