An exact mapping of the tight-binding Hamiltonian for a graphene's nanoribbon under any armchair uniaxial strain into an effective one-dimensional system is presented. As an application, for a periodic modulation we have found a gap opening at the Fermi level and a complex fractal spectrum, akin to the Hofstadter butterfly resulting from the Harper model. The latter can be explained by the commensurability or incommensurability nature of the resulting effective potential. When compared with the zig-zag uniaxial periodic strain, the spectrum shows much bigger gaps, although in general the states have a more extended nature. For a special critical value of the strain amplitude and wavelength, a gap is open. At this point, the electrons behave as Dirac femions in one direction, while in the other, a Schr\"odinger behavior is observed.