mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-18 07:04:59 -05:00
21 lines
330 B
Plaintext
Executable File
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
|
|
|
|
|