adding notes for installing nginx properly
This commit is contained in:
@@ -19,12 +19,28 @@ set -x;
|
||||
|
||||
cd server
|
||||
|
||||
##
|
||||
|
||||
cd sshd/
|
||||
|
||||
bash sshd.bash
|
||||
|
||||
cd ..
|
||||
|
||||
##
|
||||
|
||||
cd nginx
|
||||
|
||||
bash nginx.bash
|
||||
|
||||
cd ..
|
||||
|
||||
##
|
||||
|
||||
cd ..
|
||||
|
||||
##
|
||||
|
||||
cd users/shinobi
|
||||
|
||||
bash provision.bash
|
||||
|
||||
1
server/provision/server/nginx/index.html
Normal file
1
server/provision/server/nginx/index.html
Normal file
@@ -0,0 +1 @@
|
||||
what it do!!!
|
||||
20
server/provision/server/nginx/nginx.bash
Executable file
20
server/provision/server/nginx/nginx.bash
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e;
|
||||
|
||||
set -x;
|
||||
|
||||
apt update;
|
||||
|
||||
apt install -y nginx;
|
||||
|
||||
|
||||
## cp sshd_config /etc/ssh/sshd_config
|
||||
|
||||
service nginx start;
|
||||
|
||||
##
|
||||
## finish
|
||||
##
|
||||
|
||||
echo "fin."
|
||||
Reference in New Issue
Block a user