This is a documentation of my FreshRSS install to an apache server (pinky) behind an nginx proxy (athena).
/mnt/minsunluks/www/freshchown -R www-data:www-data /mnt/minsunluks/www/fresh chmod -R g+w /mnt/minsunluks/www/fresh/etc/apache2/sites-available/fresh.conf: Alias /fresh "/mnt/minsunluks/www/fresh/p/"
<Directory /mnt/minsunluks/www/fresh/p>
AllowOverride AuthConfig FileInfo Indexes Limit
Require all granted
</Directory>
AllowEncodedSlashes On
mysql -u root -p CREATE USER 'fresh'@'localhost' IDENTIFIED BY '<password>'; CREATE DATABASE `fresh`; GRANT ALL privileges ON `fresh`.* TO 'fresh'@localhost; FLUSH PRIVILEGES; QUIT;
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; }
/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