Magnesium helps me sleep better with less muscle cramping. Vit B complex helps lower my pain. I use turmeric in my coffee with a dash of pepper to lower my inflammation. Pepper helps the body absorb the turmeric. I'm still experimenting with a few others like vitamins C, D, E and K, as I had recently read that they can help with AS also. I try to get all the vitamins and minerals I need from my food though, more so than supplements, as they can get pretty spendy.
My doctor added magnesium and vitamin D. It is helping me. Consult your doctor.
My doctor also prescribed the vitamin D