May I know how to close the IP access management port or modify the management port

May I know how to close the IP access management port or modify the management port

I just want to access the management service through the domain name and port. Thank you!

A makeshift: edit /usr/local/hestia/nginx/conf/nginx.conf.

The area:

        # Vhost
                listen             8083 ssl;
               server_name         _;

To:

        # Vhost
        server {
                listen              8083 ssl;
                server_name         IPADDRESS;
                root                /var/www/html;
                ssl_certificate     /usr/local/hestia/ssl/certificate.crt;
                ssl_certificate_key /usr/local/hestia/ssl/certificate.key;
        }
        server {
                listen              8083 ssl;
                server_name         HOSTNAME;
  • IPADDRESS: put your IP address
  • HOSTNAME: put your hostname