Force PDF download with nGinx

Force PDF download with nGinx

Recently we wanted to force a PDF download instead of allow it to render in the browser. After some Googling the solutions I found didn’t work or they were far more complex than they needed to be. The code below…

 Dave

About David Parlevliet

Dave is long time developer with a passion toward teaching. He divides his time between his wife, her cat and his projects. He recently started using twitter so make sure to follow him!