Configure Push Relay
By default, your self-hosted Bitwarden server is configured to communicate with Bitwarden's push relay service (https://push.bitwarden.com
). You can optionally configure the server with your own push relay service or disable push relay entirely.
注意
Disabling push relay will prevent mobile apps from automatically syncing, however users will still be able to manually sync their vaults.
To configure the server with your own push relay service:
Open
./bwdata/docker/global.env
.Specify the URI of your push relay service in
globalSettings__pushRelayBaseUri=
.Run
./bitwarden.sh restart
to apply your changes.
To disable push relay for standard server installations:
Open
./bwdata/config.yml
.Change the
push_notifications: true
attribute tofalse
.Run
./bitwarden.sh rebuild
to apply your changes.
To disable push relay for offline and manual server installations:
Open
./bwdata/env/global.override.env
.Add the line
globalSettings__pushRelayBaseUri=
(the variable should be blank).Restart Bitwarden to apply the changes.