Add more sites and fix some configurations. Add rewrite and try_files options into sites definitions.