mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-28 11:22:14 -05:00
19 lines
286 B
Plaintext
Executable File
19 lines
286 B
Plaintext
Executable File
set -x
|
|
|
|
apt-get install nginx --yes
|
|
cp sudoers.d-web /etc/sudoers.d/web
|
|
chmod 0440 /etc/sudoers.d/web
|
|
|
|
cd /etc/nginx
|
|
ln -s /home/web/resources/nginx-ssl.crt
|
|
ln -s /home/web/resources/nginx-ssl.key
|
|
|
|
cd conf.d
|
|
ln -s /home/web/resources/nginx.conf
|
|
|
|
cd /var/local
|
|
mkdir www
|
|
chown web www
|
|
|
|
|