flask run --host=host --port=port
certbot certonly --nginx --email email@example.com --agree-tos -d example.com --dry-run
or
certbot certonly --manual --preferred-challenges http -m email@example.com -d example.com --dry-run
ssl_certificate /usr/local/etc/letsencrypt/live/<domain>/fullchain.pem
ssl_certificate_key /usr/local/etc/letsencrypt/live/<domain>/privkey.pem
/usr/local/etc/nginx/nginx.conf
/mnt/<home>/iocage/jails/<app>/root
/mnt/<home>/iocage/jails/<app>/root/usr/local/etc/letsencrypt/live/<domain>
service nginx restart
/mnt/<home>/ix-applications/releases/
先給權限:
chown -R www-data:www-data <path/to/new/files>
然後掃描
cd "path/to/occ/file"
sudo -u www-data php occ files:scan --all
nextcloud/all-in-one#1503 (comment)
先docker ps
找出對應容器
sudo docker exec --user www-data -it <容器名稱> php occ files:scan --all