slampenny/Swaggervel — pull request #17 by cliveza (2014-11-20 20:48:38+00:00)
Title: Added support for https and reverse proxies

My two commits do two things:

* If the site is requested over HTTPS all resource will now also be served over HTTPS
* If the site is behind a reverse and depending on how that proxy is configure Laravel might not be able to determine the protocol the request was made over, so I've added a new option to trust the proxy servers IP address and then this will allow Laravel's/Symfony's Request object to try and use the `x-forwarded-proto` header to determine the request's protocol. I have tested this using an AWS load balancer.