Skip to content

Repository files navigation

LiUPS

The Lixin Universal Proxy Server

LiUPS is a Docker-Nginx based server, that provides reverse proxy for deploying your https sites.

Service Provided

  • FTP server
  • Nginx server
  • MySQL Server
  • phpMyAdmin
  • Let's Encrypt SSL auto deploy.

Usage

  1. First and for most, clone this repo:
    git clone https://github.com/realJustinLee/LiUPS.git
    cd LiUPS
  2. Edit .conf/nginx/app.conf:
    vim .conf/nginx/app.conf
  3. Edit init_letsencrypt.sh:
    vim init_letsencrypt.sh
  4. Create .env-mysql:
    touch .env-mysql
    vim .env-mysql

    This is a super simple template:

    MYSQL_ROOT_PASSWORD=< Your Password >
    
  5. Run init_ubuntu_dokcer_ce.sh then take a reboot:
    ./init_ubuntu_dokcer_ce.sh
    reboot
  6. After reboot, cd back to the LiUPS repo:
    # Read carefully! You should enter the path manually, instead of just copying the following code and run.
    cd /path/to/LiUPS
  7. Run init_letsencrypt.sh and let it obtain and deploy ssh for your website that you have configured in this script:
    ./init_letsencrypt.sh
  8. Finally run post_reboot.sh:
    ./post_roboot.sh
  9. Now you are ready to go.

    If you reboot your server, be sure to run post_reboot.sh so that you won't kill your service by accident.

About

Lixin Universal Proxy Server

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages