change paths for root and nginx