Hello.
I want to know how to set the default website on HestiaCP to prevent iP leak.
As we know ,when others tap ip:443 that nginx will return a default website’s SSL certificate.This may let the domain’s ip leak even I use Cloudflare.
So I would like to set a fake website as default website(like example.com) with a SSL(like self-signed certificate) or let ssl_shakehand off.So nginx will return 444 when other try to surf ip:443
I turn to change the file in /home/X/conf/web/example.com/nginx.ssl.conf
Or create a new template in /usr/local/hestia/data/templates/web/nginx/php-fpm
Nginx became failed and show nginx:[emerg] a duplicate default server for iP in /etc/nginx/conf.d/domains/example.com.ssl.conf
Software environment:
Ubuntu22.04LTS
HestiaCP 1.16.0
Nginx 1.23.0