File tree Expand file tree Collapse file tree 5 files changed +8
-1
lines changed Expand file tree Collapse file tree 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 77#}
88
99## Server ##
10+ public_baseurl: http://127.0.0.1:8008/
1011report_stats: False
1112trusted_key_servers: []
1213enable_registration: true
Original file line number Diff line number Diff line change @@ -42,6 +42,6 @@ server {
4242{% endif %}
4343 proxy_set_header X-Forwarded-For $remote_addr;
4444 proxy_set_header X-Forwarded-Proto $scheme;
45- proxy_set_header Host $host;
45+ proxy_set_header Host $host:$server_port ;
4646 }
4747}
Original file line number Diff line number Diff line change @@ -195,6 +195,10 @@ if [ -z "$skip_docker_build" ]; then
195195 # Build the unified Complement image (from the worker Synapse image we just built).
196196 echo_if_github " ::group::Build Docker image: complement/Dockerfile"
197197 $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 \
198202 -f " docker/complement/Dockerfile" " docker/complement"
199203 echo_if_github " ::endgroup::"
200204
Original file line number Diff line number Diff line change @@ -360,5 +360,6 @@ def setup_logging(
360360 "Licensed under the AGPL 3.0 license. Website: https://github.com/element-hq/synapse"
361361 )
362362 logging .info ("Server hostname: %s" , config .server .server_name )
363+ logging .info ("Public Base URL: %s" , config .server .public_baseurl )
363364 logging .info ("Instance name: %s" , hs .get_instance_name ())
364365 logging .info ("Twisted reactor: %s" , type (reactor ).__name__ )
You can’t perform that action at this time.
0 commit comments