Reverse proxy allows you to run multiple web servers when you have only one public IP address.
reverse-proxy takes care of https registration using let's encrypt certbot.
On your real web server, open and serve http only. The reverse-proxy will take care of https handling.
- Have a machine ("ubuntu-server") that you can run docker. Make sure 80 and 443 are available.
- Set up your router to forward 80 and 443 to the ubuntu-server.
- On ubuntu-server, clone this repo.
- Modify start.sh to fill in your domain names and email.
- Modify sites-available-default:
your.domain1.name
andyour.domain2.name
- proxy_pass - IP address of the http server
- Run
./build.sh
- Run
./run.sh