You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
ech1 32a80a02fc uploaded config 2 years ago
css final commits 2 years ago
js final commits 2 years ago
uploads uploaded config 2 years ago
README.md update 2 2 years ago
dl.png final commits 2 years ago
files.svg final commits 2 years ago
index.html final commits 2 years ago
index.php final commits 2 years ago
logo.png main files 2 years ago
phpfilesafe.conf updated configs 2 years ago
phpfilesafe_80_only.conf uploaded config 2 years ago
pull.sh second commit 2 years ago
push.sh second commit 2 years ago
upload.php forgot .. 2 years ago
wallpaper.png main files 2 years ago
wallpaper2.png final commits 2 years ago

README.md

lainsafe (php7.3)

apt update -y  && apt upgrade -y
apt install nginx git php7.3-fpm curl php7.3-common socat -y
systemctl enable --now nginx php7.3-fpm

cd /var/www/html
git clone https://github.com/ech1/lainsafe

cp phpfilesafe.conf /etc/nginx/conf.d/phpfilesafe.conf
wget -O -  https://get.acme.sh | sh
source ~/.bashrc

systemctl stop nginx 
acme.sh --issue --standalone -d ech2.duckdns.org -k 4096
systemctl start nginx 

chown -R www-data: .
nano /etc/nginx/conf.d/phpfilesafe.conf

edit the nginx config however you like it and then test it with:

nginx -t
nginx -s reload