File tree 5 files changed +8
-1
lines changed
5 files changed +8
-1
lines changed Original file line number Diff line number Diff line change
1
+ Fix Docker and Complement config to be able to use `public_baseurl`.
Original file line number Diff line number Diff line change 7
7
#}
8
8
9
9
## Server ##
10
+ public_baseurl: http://127.0.0.1:8008/
10
11
report_stats: False
11
12
trusted_key_servers: []
12
13
enable_registration: true
Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ server {
42
42
{% endif %}
43
43
proxy_set_header X-Forwarded-For $remote_addr;
44
44
proxy_set_header X-Forwarded-Proto $scheme;
45
- proxy_set_header Host $host;
45
+ proxy_set_header Host $host:$server_port ;
46
46
}
47
47
}
Original file line number Diff line number Diff line change @@ -195,6 +195,10 @@ if [ -z "$skip_docker_build" ]; then
195
195
# Build the unified Complement image (from the worker Synapse image we just built).
196
196
echo_if_github " ::group::Build Docker image: complement/Dockerfile"
197
197
$CONTAINER_RUNTIME build -t complement-synapse \
198
+ ` # This is the tag we end up pushing to the registry (see` \
199
+ ` # .github/workflows/push_complement_image.yml) so let's just label it now` \
200
+ ` # so people can reference it by the same name locally.` \
201
+ -t ghcr.io/element-hq/synapse/complement-synapse \
198
202
-f " docker/complement/Dockerfile" " docker/complement"
199
203
echo_if_github " ::endgroup::"
200
204
Original file line number Diff line number Diff line change @@ -360,5 +360,6 @@ def setup_logging(
360
360
"Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse"
361
361
)
362
362
logging .info ("Server hostname: %s" , config .server .server_name )
363
+ logging .info ("Public Base URL: %s" , config .server .public_baseurl )
363
364
logging .info ("Instance name: %s" , hs .get_instance_name ())
364
365
logging .info ("Twisted reactor: %s" , type (reactor ).__name__ )
You can’t perform that action at this time.
0 commit comments