mailiverse/install/setup-web.remote

21 lines
330 B
Plaintext
Executable File

set -x
./setup-nginx.remote
mkdir -p /var/log/nginx
chdown nginx /var/log/nginx
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
cd /var/local
mkdir www
chown web www