A 40-year-old woman presents with a history of episodic unilateral throbbing headaches with nausea and photophobia lasting several hours, relieved by sleep. Neurological examination is normal. You diagnose migraine. Which of the following is the most appropriate acute treatment strategy?