fixes
This commit is contained in:
parent
46620c5e2a
commit
3b75e8dbeb
14
README.md
14
README.md
@ -170,13 +170,13 @@ User=www-data
|
|||||||
Group=www-data
|
Group=www-data
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
WorkingDirectory=/opt/fastapi-dls/app
|
WorkingDirectory=/opt/fastapi-dls/app
|
||||||
EnvironmentFile=/etc/fastapi-dls.env
|
EnvironmentFile=/etc/fastapi-dls/env
|
||||||
ExecStart=/opt/fastapi-dls/venv/bin/uvicorn main:app \
|
ExecStart=/opt/fastapi-dls/venv/bin/uvicorn main:app \\
|
||||||
--env-file /etc/fastapi-dls.env \
|
--env-file /etc/fastapi-dls/env \\
|
||||||
--host \$DLS_URL --port \$DLS_PORT \
|
--host \$DLS_URL --port \$DLS_PORT \\
|
||||||
--app-dir /opt/fastapi-dls/app \
|
--app-dir /opt/fastapi-dls/app \\
|
||||||
--ssl-keyfile /opt/fastapi-dls/app/cert/webserver.key \
|
--ssl-keyfile /opt/fastapi-dls/app/cert/webserver.key \\
|
||||||
--ssl-certfile /opt/fastapi-dls/app/cert/webserver.crt \
|
--ssl-certfile /opt/fastapi-dls/app/cert/webserver.crt \\
|
||||||
--proxy-headers
|
--proxy-headers
|
||||||
Restart=always
|
Restart=always
|
||||||
KillSignal=SIGQUIT
|
KillSignal=SIGQUIT
|
||||||
|
Loading…
Reference in New Issue
Block a user