在IIS中启用Http或Https请求

时间:2021-05-01 14:23:47

I have many applications resides under the same site in my IIS. I want to configure some of them to work only with http and others in https . The whole site can decide for all of them to work with http or all with https.

我有很多应用程序驻留在我的IIS中的同一站点下。我想配置其中一些只能使用http和其他https。整个站点可以决定使用https来使用http或所有这些站点。

How I can manage that ? Thanks in advance ...

我该如何管理呢?提前致谢 ...

1 个解决方案

#1


0  

IIS changes for https:

https的IIS更改:

  • Go to → My Web Application → require SSL → enable the SSL to enforce only https. If this is not forced than use can connect via both https and http.
  • 转到→我的Web应用程序→需要SSL→启用SSL以仅强制执行https。如果这不是强制使用,可以通过https和http连接。

  • Optionally we can add a Http response header in IIS to force https download of any resource if request via normal http url Note: after enabling above header we force user to access via only http
  • 我们可以选择在IIS中添加一个Http响应头来强制https下载任何资源,如果请求通过正常的http url注意:在启用上面的头后我们强制用户只能通过http访问

#1


0  

IIS changes for https:

https的IIS更改:

  • Go to → My Web Application → require SSL → enable the SSL to enforce only https. If this is not forced than use can connect via both https and http.
  • 转到→我的Web应用程序→需要SSL→启用SSL以仅强制执行https。如果这不是强制使用,可以通过https和http连接。

  • Optionally we can add a Http response header in IIS to force https download of any resource if request via normal http url Note: after enabling above header we force user to access via only http
  • 我们可以选择在IIS中添加一个Http响应头来强制https下载任何资源,如果请求通过正常的http url注意:在启用上面的头后我们强制用户只能通过http访问