Всем привет
Прошу помочь перенести редирект с IIS на NGINX
<rule name="Remove trailing slash" stopProcessing="true">
<match url="(.*)/$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="{MapAuthority:{HTTPS}{HTTP_X_SPARK_FORWARDED_SSL}}/{R:1}" />
</rule>
Помогите плиз. как он должен выглядеть?