Open neosonic2 opened 3 years ago
The default
attribute is only used when a domain has it's own private IP address - so there shouldn't be any conflict with other domains.
Our server running Virtualmin only has 1 public IP address (and 1 private LAN-only IP address). Does Virtualmin perform any validation when determining whether to add the default
attribute to an Nginx virtual host configuration?
Virtualmin should only use default
for the first SSL website on an IP. Subsequent ones won't get it.
Are you seeing any specific problems due to this directive?
Hello,
We are using the neW Nginx module version 2.22 in our Virtualmin Professional 6.16 setup and are enjoying the features added to support HTTP/2, correct HTTP 301 redirects, and excluding IP addresses from listen directives. However, it is this last feature that I am concerned about.
When this option is activated, it creates HTTPS listen directives that look like this:
listen 443 default ssl http2;
Will the
default
attribute in this directive create conflicts if we have multiple Nginx virtual hosts? I thought it was better to specify one default server? Is there a way to tell Virtualmin not to include thedefault
attribute when creating a new virtual server?Thanks for any insight provided.