mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 13:06:53 +00:00
Update reverse-proxy.md
Removed X_FORWARDED headers as they did not work as expected Signed-off-by: Luotio <juha@luotio.net>
This commit is contained in:
parent
38e2d51aa0
commit
dc761e259a
1 changed files with 0 additions and 6 deletions
|
|
@ -737,12 +737,6 @@ Add the following `web.config` file to the root of the site you created as the r
|
|||
</conditions>
|
||||
<!-- 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" />
|
||||
<!-- Setting forwarded headers is not strictly needed but it is a good practice -->
|
||||
<serverVariables>
|
||||
<set name="HTTP_X_FORWARDED_HOST" value="{HTTP_HOST}" />
|
||||
<set name="HTTP_X_FORWARDED_SCHEMA" value="https" />
|
||||
<set name="HTTP_X_FORWARDED_PROTO" value="https" />
|
||||
</serverVariables>
|
||||
</rule>
|
||||
</rules>
|
||||
</rewrite>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue