Users in my instance are not "visible" in other instances

Hi! I installed an instance of mastodon. Everything seems to be working fine. However, if a user in my instance searches for @user2@other.instance, the user2 appears and the option to follow as well. However if user2 (from another instance) tries to search @user@my.instance, the user does not appear. Also, following users from other instances are never confirmed. This is normal? Should I enable something in the settings? On the other hand, in the timeline of the user in my instance, there are posts from some of the users that I try to follow in other instances, however they do not appear in following area.

My installation is not standard, I used debian 10 and apache 2.4.

This is my apache .conf file for mastodon:

my instance is

What could be the problem? Thank you!

Apparently these lines for apache conf are not necessary

ProxyPass /.well-known/ https://<my domain>/webfinger/.well-know
ProxyPassReverse /.well-known/ https://<my domain>/webfinger/.well-known/

now mastodon works without problems! people from other servers can already follow users in my instance

Looks like webfinger works on your instance:

After pip install webfinger in Python’s virtual environment:

> python
Python 3.6.9 (default, Aug 22 2019, 01:17:11) 
[GCC 4.2.1 Compatible FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)] on freebsd12
Type "help", "copyright", "credits" or "license" for more information.
>>> from webfinger import finger
>>> q = finger('')
>>> q.links
[{'rel': '', 'type': 'text/html', 'href': ''}, {'rel': 'self', 'type': 'application/activity+json', 'href': ''}, {'rel': '', 'template': '{uri}'}]

mastodon/nginx.conf at 38bc4b95625e14c542fc09f8b302f8ca6b92f6ee · tootsuite/mastodon · GitHub does not seem to have equivalent directive, so looks like it was the right fix!

Thanks! so far everything works fine