sailorproject / sailor

A Lua MVC Web Framework.
MIT License
924 stars 123 forks source link

Improve overall compatibility with Nginx #72

Open Etiene opened 8 years ago

xspager commented 8 years ago

Not sure if this what you meant by compatibility but this config file's rewrite lua script is a little bit nicer https://gist.github.com/xspager/2bc82d5d120de5e3e10e

It works for http://example.com, http://example.com/controller and http://example.com/controller/action

Some extra things:

Etiene commented 8 years ago

hey, thanks for the time you've been taking to take a look at that and participate! Im going through the last two weeks of my masters now and things have been a little tough :D I'll start addressing this later, but if you want to make some PRs in the meantime you are more than welcome!

thank you again <3

xspager commented 8 years ago

thank you for a good reason to finally look seriously at Lua! I'll send some PR soon :)

felipedaragon commented 8 years ago

Nice to see someone helping with this! :)