Redirect to share link enstead login page

Nextcloud version: 25.08
Operating system and version: Ubuntu 22.04
Apache: 2.4.52
PHP version : 8.1.2

Good day.

When you open the main page (e.g. https://nextcloud.mysite.com), you are redirected to the login page (https://nextcloud.mysite.com/login)
Is it possible to get redirect to share link (e.g. https://nextcloud.mysite.com/CTfqirq3QZNbSJr) ???
I want the login page to open only when I enter the login address myself.