Merge branch 'dev' into debian
# Conflicts: # README.md
This commit is contained in:
commit
914fc17795
19
README.md
19
README.md
@ -12,7 +12,7 @@ Only the clients need a connection to this service on configured port.
|
|||||||
- provide `.deb` package (WIP)
|
- provide `.deb` package (WIP)
|
||||||
- migrate from `dataset` to `sqlalchemy` (WIP)
|
- migrate from `dataset` to `sqlalchemy` (WIP)
|
||||||
- migrate from `fastapi` to `flask`
|
- migrate from `fastapi` to `flask`
|
||||||
- Support http mode for using external https proxy
|
- Support http mode for using external https proxy (disable uvicorn ssl for using behind proxy)
|
||||||
|
|
||||||
## Endpoints
|
## Endpoints
|
||||||
|
|
||||||
@ -214,6 +214,23 @@ wget -O $FILENAME https://git.collinwebdesigns.de/oscar.krause/fastapi-dls/-/pac
|
|||||||
dpkg -i $FILENAME
|
dpkg -i $FILENAME
|
||||||
apt-get install -f --fix-missing
|
apt-get install -f --fix-missing
|
||||||
```
|
```
|
||||||
|
with `systemctl start fastapi-dls.service`.
|
||||||
|
|
||||||
|
## Let's Encrypt Certificate
|
||||||
|
|
||||||
|
If you're using installation via docker, you can use `traefik`. Please refer to their documentation.
|
||||||
|
|
||||||
|
Note that port 80 must be accessible, and you have to install `socat` if you're using `standalone` mode.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
acme.sh --issue -d example.com \
|
||||||
|
--cert-file /etc/fastapi-dls/webserver.donotuse.crt \
|
||||||
|
--key-file /etc/fastapi-dls/webserver.key \
|
||||||
|
--fullchain-file /etc/fastapi-dls/webserver.crt \
|
||||||
|
--reloadcmd "systemctl restart fastapi-dls.service"
|
||||||
|
```
|
||||||
|
|
||||||
|
After first success you have to replace `--issue` with `--renew`.
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user