Moving a .aspx site over to nginx, need to server .aspx as static files or rewrite
- by Blankman
I have a simple CMS site that was written in asp.net.
My site looks like:
www.example.com/
www.example.com/content/index.aspx
www.example.com/content/get.aspx?id=234 (loads an article)
It uses a database currently, but I am going to dump all the content to file, and then I can just pull the contents of the file based on the id=234 value.
I want to move this site over to my ubuntu nginx server.
What options do I have? Suggestions?
I want to keep the URL structure exactly how it is now, how can I do this?
Would this be any easier using apache?