Etymology
Today it means: In an upright manner. Full definition →
From upright + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.