FreshRSS¶
直接安装¶
服务器至少安装Nginx、PHP、Mysql
部署¶
- 1.将项目下载到对应网站目录,给data写的权限:
chown -R www /freshrss/data - 2.通过web端进行配置
- 3.安装插件到extensions目录下
刷新订阅源¶
配置crontab定时任务,实现自动刷新订阅源
*/30 * * * * php /path/to/FreshRSS/app/actualize_script.php > /tmp/FreshRSS.log 2>&1
其他¶
nginx部分配置¶
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ [^/]\.php(/|$) {
#fastcgi_pass remote_php_ip:9000;
fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
API使用¶
1.管理-认证,开启API使用 2.账户-API管理,配置密码