mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2024-12-22 10:42:48 -08:00
update README
This commit is contained in:
parent
578f3408ac
commit
ca9e10e5c2
22
README.md
22
README.md
@ -1,3 +1,25 @@
|
|||||||
## deploy
|
## deploy
|
||||||
|
|
||||||
works on Debian 10 using only distro python3 packages
|
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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user