LiUPS is a Docker-Nginx based server, that provides reverse proxy for deploying your https sites.
- FTP server
- Nginx server
- MySQL Server
- phpMyAdmin
- Let's Encrypt SSL auto deploy.
- First and for most, clone this repo:
git clone https://github.com/realJustinLee/LiUPS.git cd LiUPS - Edit
.conf/nginx/app.conf:vim .conf/nginx/app.conf
- Edit
init_letsencrypt.sh:vim init_letsencrypt.sh
- Create
.env-mysql:touch .env-mysql vim .env-mysql
This is a super simple template:
MYSQL_ROOT_PASSWORD=< Your Password > - Run
init_ubuntu_dokcer_ce.shthen take a reboot:./init_ubuntu_dokcer_ce.sh reboot
- After reboot, cd back to the
LiUPSrepo:# Read carefully! You should enter the path manually, instead of just copying the following code and run. cd /path/to/LiUPS
- Run
init_letsencrypt.shand let it obtain and deploy ssh for your website that you have configured in this script:./init_letsencrypt.sh
- Finally run
post_reboot.sh:./post_roboot.sh
- Now you are ready to go.
If you reboot your server, be sure to run
post_reboot.shso that you won't kill your service by accident.