Merge remote-tracking branch 'remotes/origin/feature/rewrite_rules_for_integration' into release/1.18.0
This commit is contained in:
commit
a6617e53c2
3
.jenkins/Jenkinsfile
vendored
3
.jenkins/Jenkinsfile
vendored
@ -45,6 +45,9 @@ pipeline {
|
||||
if ( $Env:JOB_NAME -eq "production.helpcenter.onlyoffice.com.pl") {
|
||||
(get-content publish.proj) | %{$_ -replace 'Updateable="true"', 'Updateable="false"'} | set-content publish.proj
|
||||
}
|
||||
if ( $Env:JOB_NAME -eq "production.helpcenter.onlyoffice.com.pl") {
|
||||
(Get-Content "Web\\web.config" -Raw) -replace '(?ms)<rule name="redirect-test-helpcenternew-[^>]+>.*?</rule>\r?\n*', '' | Set-Content "Web\\web.config"
|
||||
}
|
||||
'''
|
||||
bat '''
|
||||
echo " == Build == "
|
||||
|
@ -2188,7 +2188,30 @@
|
||||
<match url="userguides/groups-guides-documents-forms.aspx" />
|
||||
<action type="Redirect" url="userguides/groups-guides-documents-share-documents.aspx" />
|
||||
</rule>
|
||||
</rules>
|
||||
<rule name="redirect-test-helpcenternew-1">
|
||||
<match url="^integration.aspx" />
|
||||
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
|
||||
<action type="Rewrite" url="https://test-helpcenter.onlyoffice.com/integration/" />
|
||||
</rule>
|
||||
<rule name="redirect-test-helpcenternew-2" stopProcessing="false">
|
||||
<match url="^de/integration(.*)" />
|
||||
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
|
||||
<action type="Rewrite" url="https://testnew-helpcenter.onlyoffice.com/{R:0}" />
|
||||
</rule>
|
||||
<rule name="redirect-test-helpcenternew-3" stopProcessing="true">
|
||||
<match url="^fr/integration(.*)" />
|
||||
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
|
||||
<action type="Rewrite" url="https://testnew-helpcenter.onlyoffice.com/{R:0}" />
|
||||
</rule>
|
||||
<rule name="redirect-test-helpcenternew-4">
|
||||
<match url="^integration(.*)" />
|
||||
<action type="Rewrite" url="https://testnew-helpcenter.onlyoffice.com/{R:0}" />
|
||||
</rule>
|
||||
<rule name="redirect-test-helpcenternew-5">
|
||||
<match url="^_next(.*)" />
|
||||
<action type="Rewrite" url="https://testnew-helpcenter.onlyoffice.com/{R:0}" />
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
<security>
|
||||
<requestFiltering>
|
||||
|
Loading…
Reference in New Issue
Block a user