Gitea + IIS + local domain

Hello,

Gitea shows the message:
“The detected web site URL is “http://192.168.(…):3000/”, it’s unlikely matching the site config.
Mismatched app.ini ROOT_URL or reverse proxy “Host/X-Forwarded-Proto” config might cause wrong URL links for web UI/mail content/webhook notification/OAuth2 sign-in.”

When using Gitea, the following message appears: “cross-origin request detected, and/or browser is out of date: Sec-Fetch-Site is missing, and Origin does not match Host”

The server section in the app.ini file looks like this:
SSH_DOMAIN = gitea.local.domain
DOMAIN = gitea.local.domain

HTTP_PORT = 3000
HTTP_ADDR = 192.168.(…)

ROOT_URL = http://gitea.local.domain/
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_JWT_SECRET = (…)

APP_DATA_PATH = (…)
[lfs]
PATH = (…)

I am attaching the IIS settings (URL Rewrite on the Gitea site, “Server Proxy Settings” in “Application Request Routing” IIS).

What configuration errors could be causing these errors? Thank you