abaga129 / sveltekit-adapter-iis

15 stars 5 forks source link

Documentation for redirect to https #9

Closed Palkess closed 10 months ago

Palkess commented 10 months ago

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

KraXen72 commented 10 months ago

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

Palkess commented 10 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 10 months ago

ahh nice