Fix nginx and enable asset pipeline