IIS URL HTTP -> HTTPS重定向配置规格


  • admin

        <rule name="HTTP to HTTPS redirect" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTPS}" pattern="off" ignoreCase="true" />
          </conditions>
          <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
        </rule>
    

    IIS URL HTTP -> HTTPS重定向配置规格


Log in to reply
 

推荐贴文