In this manuscript, we present spatial one and two-body correlation measurements performed on a one-dimensional gas of ultra-cold bosons trapped at the surface of a microstructure. Two body correlations are highlighted by measurements of in situ density fluctuations and one-body correlations are probed through measurements of momentum distributions.We observed sub-Poissonian density fluctuations in the regime of weak interactions, thus demonstrating for the first time the regime of quasi-condensate in which the two-body correlation function is dominated by quantum fluctuations. We also observed sub-Poissonian fluctuations regardless of the density in the regime of strong interactions. Our measurement is the first observation of a single one-dimensional gas of bosons in this regime.The magnetic trap that we used is a modulated trap that has the remarkable property of decoupling between transverse and longitudinal confinements. This specificity has enabled us to engineer at will the shape of the longitudinal confinement. In particular, we were able to obtain harmonic and quartic traps.