Added noindex to prevent SEO from indexing user's sites. Reverted http3 support as docker users were having port issue (#1850)
This commit is contained in:
parent
40d68ea6c5
commit
45e69b087e
3 changed files with 4 additions and 3 deletions
|
|
@ -174,7 +174,7 @@ public class Program
|
|||
var ipAddresses = Configuration.IpAddresses;
|
||||
if (string.IsNullOrEmpty(ipAddresses))
|
||||
{
|
||||
opts.ListenAnyIP(HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2AndHttp3; });
|
||||
opts.ListenAnyIP(HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2; });
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -182,7 +182,7 @@ public class Program
|
|||
{
|
||||
try {
|
||||
var address = System.Net.IPAddress.Parse(ipAddress.Trim());
|
||||
opts.Listen(address, HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2AndHttp3; });
|
||||
opts.Listen(address, HttpPort, options => { options.Protocols = HttpProtocols.Http1AndHttp2; });
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue