Remove index.php from URLs on Microsoft-IIS/10.0

I use Microsoft-IIS/10.0 but cant set “Remove index.php from URLs”. when go without index.php, the site redirect to 404

I try to set in Web.config to

<rule name="SpecificRewrite" stopProcessing="true">
            <match url="."  />
            <action type="Rewrite" url="/index.php"  />
        </rule>

but above doesn’t work. Could anyone help me to fix it?

I got the answer here