Navigation Menu

Skip to content

yob/prawn-rails-xaccelredirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A smaple Rails app that exhibits a technique for integrating Prawn and Nginx’s
X-Accel-Redirect feature into your Rails app for PDF production.

Instalation

The app doesn’t require or load ActiveRecord, so just fire it up to give it a
whirl.

./script/server

To actually receive the generated PDFs you need to be proxying to the app
through nginx and have X-Accel-Redirect setup. For full instructions see the
article on my blog.

http://yob.id.au

About

Sample rails app that exhibits using Prawn and Ngnix's X-Accel-Redirect feature to generate and stream PDFs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published