captncraig / caddy-realip

Real-IP middleware for caddy
MIT License
18 stars 9 forks source link

Convert to Caddy 0.9 plugin format #2

Closed mholt closed 8 years ago

mholt commented 8 years ago

Just a quick edit on the GitHub website, you might want to check that this compiles. ;) But hopefully it will help speed you up to be ready for 0.9, otherwise we won't be able to offer this on the download page.

If you could make similar changes to cors that'd be awesome!

Edit: Don't forget to change middleware.Handler to httpserver.Handler in the test file. I missed that one.

mholt commented 8 years ago

Hey @captncraig, if you can merge this in today or early tomorrow, I can keep realip on the download page; otherwise I will have to remove it, since that's when the release of the updated build server is happening. Thanks!