1. add systemd units deployment recipie;
2. add certbot periodic task;
3. update nginx_config.py
to user ssl_preread_server_name
instead of protocol, since it seems
to be broken;
12 lines
198 B
Desktop File
12 lines
198 B
Desktop File
[Unit]
|
|
Description=fxreader.online-certbot
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/python3 d1/certbot.py
|
|
WorkingDirectory={{PROJECT_ROOT}}
|
|
#Restart=always
|
|
|
|
#[Install]
|
|
#WantedBy=multi-user.target
|