Redirect to www from apex domain (and back)
It would be helpful if Gitlab Pages would automatically redirect access to a naked domain to the
www-subdomain when the latter is being added to the Pages settings. For an example, see this feature on Github Pages.
Otherwise, you need a separate server just to do that redirect.