fixed some asset pipeline issues and nginx conf