30 Sep 2014

Embedding simpleSAMLphp using nginx

I recently had to embed simpleSAMLphp into another application, in order to provide SAML2 federate login. Well embed might be the wrong term, perhaps mount describes it better.

As my web server of choice these days is nginx I wanted to use it rather than apache. This posed a couple of problems, so I decided to document my endeavour, mostly because I have been through this process once before and it turns out my memory is not really that good.