mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-05 17:05:07 -05:00
19 lines
308 B
Plaintext
Executable File
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
|
|
|
|
|