nginx default_server

Started by Tubs, September 27, 2020, 03:27:15 AM

Previous topic - Next topic
sorry, why not?
of course it should be possible to enbale proxy_protocol separately for http/https and this is not a part of a "default_server" quick fix

Quote from: bimbar on January 05, 2022, 04:42:30 PM
Does that even make sense for https? I intentionally only implemented it for http.
You mean because it will most likely be a certificate mismatch to the hostname in all cases? One could use wildcard certificates to overcome this.

Quote from: 8191 on January 05, 2022, 07:46:23 PM
You mean because it will most likely be a certificate mismatch to the hostname in all cases? One could use wildcard certificates to overcome this.
Actually, you can use other matches than hostnames in SAN. For example IP addresses, however I think this is quite uncommon and not in use by public CAs.