[SOLVED] SSH operations failing on fresh install on RaspberryPi (ArchLinux ARM)

Hello,
I am trying to setup a Gitea server on my RPi to host my personal projects and I nearly succeed since the web UI is working well but I cannot achieive a push or clone on existing repositories.
Here is my setup:
The RPi 2 run a fresh ArchLinuxARM for ARMv7.
The gitea binary is from https://dl.gitea.io/gitea/1.9/gitea-1.9-linux-arm-6
The system user running gitea is git, the .ssh folder have been created by gitea and I did not modified it,
The git user have bash as login shell.
An NGinX server is used as reverse proxy and is the only app on port 80 and 443, handling SSL.
My app.ini is:

custom/conf/app.ini
APP_NAME = Gitea: Git with a cup of tea
RUN_USER = git
RUN_MODE = prod

[oauth2]
JWT_SECRET = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[security]
INTERNAL_TOKEN = xxxxxxxxxxxxxxxxxxxxxxxx
INSTALL_LOCK   = true
SECRET_KEY     = xxxxxxxxxxxxxxxxxxxxxxx

[database]
DB_TYPE  = sqlite3
HOST     = 127.0.0.1:3306
NAME     = gitea
USER     = gitea
PASSWD   = 
SSL_MODE = disable
CHARSET  = utf8
PATH     = /home/git/gitea/data/gitea.db

[repository]
ROOT = /git

[server]
SSH_DOMAIN       = my.public.domain
DOMAIN           = localhost
HTTP_PORT        = 9000
ROOT_URL         = https://git.my.public.domain/
DISABLE_SSH      = false
SSH_PORT         = 22
LFS_START_SERVER = false
LFS_CONTENT_PATH = /home/git/gitea/data/lfs
LFS_JWT_SECRET   = xxxxxxxxxxxxxxxxxxxxxx
OFFLINE_MODE     = false

[mailer]
ENABLED = false

[service]
REGISTER_EMAIL_CONFIRM            = false
ENABLE_NOTIFY_MAIL                = false
DISABLE_REGISTRATION              = true
ALLOW_ONLY_EXTERNAL_REGISTRATION  = false
ENABLE_CAPTCHA                    = false
REQUIRE_SIGNIN_VIEW               = true
DEFAULT_KEEP_EMAIL_PRIVATE        = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
DEFAULT_ENABLE_TIMETRACKING       = false
NO_REPLY_ADDRESS                  = noreply.example.org

[picture]
DISABLE_GRAVATAR        = true
ENABLE_FEDERATED_AVATAR = false

[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false

[session]
PROVIDER = file

[log]
MODE      = file
LEVEL     = info
ROOT_PATH = /home/git/gitea/log

I added a SSH public key throught web UI and I configured a host in my local .ssh/config.

And when I try to do either push or clone I get:

Error message
$ git --git-dir=nomore.js.git push  mygit:lattay/nomore.js.git
Gitea: Internal Server Error
Get http://localhost:9000/api/internal/serv/command/1/lattay/nomore.js?mode=2&verb=git-receive-pack: dial tcp: lookup localhost on 192.168.1.1:53: no such host
fatal: Impossible de lire le dépôt distant.

Veuillez vérifier que vous avez les droits d'accès
et que le dépôt existe.

I crawled the web for some time but I cannot find any hint of the solution, can anyone help me untangling this ?

DNS resolution in server does not seem to work correctly

Ok thank you very much you put me on the good direction.
I am ashamed to say that I forgot to setup /etc/hosts and localhhost wasn’t defined. I fixed that and now the push work well !
However, now, I cannot use the web UI anymore (but that is not relevant to this post).