Admin page behind proxy always redirects on internal host

Hi everyone, I put our phpList installation behind a reverse proxy.
Everything ok with the public pages (subscribe, unsubscribe, etc.) but when trying to access the admin page from the public URL the system generates a 301 return code and redirects to the internal host.
Any suggestions? Using NGINX+php-fpm.

Thanks!

To address the admin page redirection issue behind a reverse proxy with NGINX and php-fpm, ensure that the proxy_set_header HOST directive in your NGINX configuration is set to the public URL of your admin page. Also, check that the proxy_redirect directive is set to off, which prevents automatic redirection to the internal host.