fix nginx config location and improve setting paths

Fix incorrect location mentioned in upgrade guide.