Welcome! Log In Create A New Profile

Advanced

rewrite

August 30, 2019 10:56AM
Всем привет
Прошу помочь перенести редирект с 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>

Помогите плиз. как он должен выглядеть?
Subject Author Posted

rewrite

classic85 August 30, 2019 10:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 293
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready