rails and nginx setups