mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +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.webServer>
|
||||
<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 -->
|
||||
<rule name="Https" stopProcessing="true">
|
||||
<match url="(.*)" />
|
||||
|
|
@ -777,7 +778,8 @@ Add the following `web.config` file to the root of the site you created as the r
|
|||
<conditions>
|
||||
<add input="{HTTPS}" pattern="^ON$" />
|
||||
</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>
|
||||
</rules>
|
||||
</rewrite>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue