[SOLVED] How to disable http :3000 access?

Hi!

I created an Apache reverse proxy with https to my Gitea, but http://gitea.mydomain.com:3000 still accessable. Can I disable it?
I would like to access Gitea through reverse proxy only. I have a Debian 12 system, Gitea runs as a sysmtemd service.

SOLUTION:
I found the HTTP_ADDR is the listen address in the config.
I changed theese settings:
LOCAL_ROOT_URL = http://localhost:3000
HTTP_ADDR = localhost

And the webserver reverse proxy calls the http://localhost:3000 url

1 Like