===== FreshRSS installation ===== This is a documentation of my FreshRSS install to an apache server (pinky) behind an nginx proxy (athena). - Grab and extract latest [[https://github.com/FreshRSS/FreshRSS/tarball/master|FreshRSS release]] - Extract to ''/mnt/minsunluks/www/fresh'' - Change permissions \\ ''chown -R www-data:www-data /mnt/minsunluks/www/fresh'' \\ ''chmod -R g+w /mnt/minsunluks/www/fresh'' - Add and enable the following config in ''/etc/apache2/sites-available/fresh.conf'': \\ Alias /fresh "/mnt/minsunluks/www/fresh/p/" AllowOverride AuthConfig FileInfo Indexes Limit Require all granted AllowEncodedSlashes On - Create MySQL database: \\ ''mysql -u root -p'' \\ CREATE USER 'fresh'@'localhost' IDENTIFIED BY ''; CREATE DATABASE `fresh`; GRANT ALL privileges ON `fresh`.* TO 'fresh'@localhost; FLUSH PRIVILEGES; QUIT; - Continue setting up the configuration in a web browser - Insert the following into the nginx proxy configuration: \\ location /fresh { return 301 $scheme://$host/fresh/; } location /fresh/i { return 301 $scheme://$host/fresh/i/; } location ^~ /fresh/ { proxy_pass http://192.168.0.5/fresh; rewrite /fresh(.*) /fresh/$1 break; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location ^~ /fresh/i/ { proxy_pass http://192.168.0.5/fresh/i; rewrite /fresh/i(.*) /fresh/i/$1 break; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } - Create ''/etc/cron.d/update-freshrss-feeds'' \\ */15 * * * * www-data /usr/bin/php /mnt/minsunluks/www/fresh/app/actualize_script.php > /tmp/freshrss.log 2>&1