mailiverse/install/setup-web.remote
2013-09-02 16:49:40 -04:00

19 lines
308 B
Plaintext
Executable File

set -x
sudo ./setup-nginx.remote
sudo mkdir -p /var/log/nginx
cp sudoers.d-web /etc/sudoers.d/web
chmod 0440 /etc/sudoers.d/web
cd /opt/nginx/conf
ln -s /home/web/resources/nginx-ssl.crt
ln -s /home/web/resources/nginx-ssl.key
ln -s /home/web/resources/nginx.conf
cd /var/local
mkdir www
chown web www