Sends static files using nginx X-Accel-Redirect header (XSendfile)

Andrew Dolgov 1b9ad78f1c only serve files from cache/ 1 month ago
README.md 4d05ef87cb upd readme 1 month ago
init.php 1b9ad78f1c only serve files from cache/ 1 month ago

README.md

README

Installation

Git clone to tt-rss/plugins.local/nginx_xaccel

Configuration

Setup redirect prefix for nginx (should lead to tt-rss base directory) via NGINX_XACCEL_PREFIX in config.php:

 	define('NGINX_XACCEL_PREFIX', '/tt-rss');
	location /tt-rss/cache {
		aio threads;
		internal;
	}

More info here: https://www.nginx.com/resources/wiki/start/topics/examples/xsendfile/