Update nginx config to better support assets and caching
Fix sudo issues