abaga129 / sveltekit-adapter-iis

14 stars 6 forks source link

Documentation for redirect to https #9

Closed Palkess closed 7 months ago

Palkess commented 7 months ago

I forgot to add documentation for the redirectToHttps option for pull request #7 so here is a suggestion.

KraXen72 commented 7 months ago

does the redirect https rule conflict with the block rule for virtual dirs? or can they co-exist?

Palkess commented 7 months ago

They should be able to co-exist. If the condition of the redirect rule is true, it will stop evaluating the rest of the rules and perform the redirect, which causes a new request that get evaluated to the conditions again and doesn't trigger a redirect and the rest of the rules are evaluated as usual.

KraXen72 commented 7 months ago

ahh nice