RT::Extension::Nginx - optimized request tracker within minutes
perl Makefile.PL make make install cd /opt/rt4/local/plugins/RT-Extension-Nginx/ ./sbin/rt-generate-nginx-conf ./sbin/rt-nginx-control start
This is beta software. Lacks some documentation.
Extension comes with two scripts:
Generates optimized nginx config from RT configuration and templates. Creates required directories and files.
Simple script that can start, stop and restart nginx and fcgi processes. Run without arguments to see help.
Nginx is very fast web server with low memory footprint.
Two servers schema with web server in front and FastCGI (FCGI) server running RT as backend. Nginx buffers replies from FCGI, so heavy FCGI processes get free and ready to serve next request before user gets the current request.
FCGI processes are forked so share some memory between processes lowering memory footprint.
Nginx serves /NoAuth/images/ location from files without touching FCGI and does it properly accounting local directory and plugins' directories.
Files served from /NoAuth/css/ and /NoAuth/js/ locations are stored on first request for re-use.
Html, css and js gzipped. For example size of the primary css file drops from 78k down to 19kb.
A few things can be improved within RT and this extension, but it's a good start.
Ruslan Zakirov <email@example.com>
Under the same terms as perl itself.