From ca9e10e5c2fcc0239f5885e37ca572c4cdc9ab0c Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Fri, 8 Jan 2021 14:56:54 -0800 Subject: [PATCH] update README --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index bbfd15b..4c18be6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,25 @@ ## deploy works on Debian 10 using only distro python3 packages + +## apache configs + +the example apache configs don't include ssl support, +but if you user letsencrypt, cert-bot will automatically +create those, (and presumable you would select automatic +https redirection when creating the certs) + +the photos are served from an entirely separate subdomain +outside of the flask app + +## dns + +login to your dns provider and add A and AAAA records for photo_app.example.com + +or for LAN testing or deployment, if you are running dnsmasq on your router, you +can add something like the following to the `/etc/hosts` file, and then restart +dnsmasq + +```conf +192.168.X.XXX photos.example_host photo_app.example_host +```