|
|
|
@@ -110,7 +110,7 @@ |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
@@ -136,7 +136,7 @@ |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
@@ -159,7 +159,7 @@ |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
@@ -180,7 +180,7 @@ |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
@@ -406,7 +406,7 @@ server { |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
@@ -432,7 +432,7 @@ server { |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
@@ -455,7 +455,7 @@ server { |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
@@ -476,7 +476,7 @@ server { |
|
|
|
# Make sure this matches your homeserver in media-repo.yaml |
|
|
|
# You may have to manually specify it if using delegation or the |
|
|
|
# incoming Host doesn't match. |
|
|
|
proxy_set_header Host $host; |
|
|
|
proxy_set_header Host {{ matrix_domain }}; |
|
|
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $remote_addr; |
|
|
|
|