mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-14 17:50:21 +00:00
Merge pull request #5808 from Luotio/patch-1
Updated IIS Reverse proxy configuration to work with special characters.
This commit is contained in:
commit
5e7a2005e5
1 changed files with 4 additions and 2 deletions
|
|
@ -762,7 +762,8 @@ Add the following `web.config` file to the root of the site you created as the r
|
||||||
</system.web>
|
</system.web>
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<rewrite>
|
<rewrite>
|
||||||
<rules>
|
<!-- useOriginalURLEncoding needs to be set to false, otherwise IIS will double encode urls causing all files with spaces or special characters to be inaccessible -->
|
||||||
|
<rules useOriginalURLEncoding="false">
|
||||||
<!-- Force https -->
|
<!-- Force https -->
|
||||||
<rule name="Https" stopProcessing="true">
|
<rule name="Https" stopProcessing="true">
|
||||||
<match url="(.*)" />
|
<match url="(.*)" />
|
||||||
|
|
@ -777,7 +778,8 @@ Add the following `web.config` file to the root of the site you created as the r
|
||||||
<conditions>
|
<conditions>
|
||||||
<add input="{HTTPS}" pattern="^ON$" />
|
<add input="{HTTPS}" pattern="^ON$" />
|
||||||
</conditions>
|
</conditions>
|
||||||
<action type="Rewrite" url="http://nc-server-farm:11000/{UNENCODED_URL}" appendQueryString="false" />
|
<!-- Note that {UNENCODED_URL} already contains starting slash, so we must add it directly after the port number without additional slash -->
|
||||||
|
<action type="Rewrite" url="http://nc-server-farm:11000{UNENCODED_URL}" appendQueryString="false" />
|
||||||
</rule>
|
</rule>
|
||||||
</rules>
|
</rules>
|
||||||
</rewrite>
|
</rewrite>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue