mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-25 01:52:15 -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
|
|
|
|
|