1
0
mirror of https://github.com/bitwarden/server synced 2026-01-03 17:14:00 +00:00

Allow self-hosted notifications to work for Login with Device approval (#2934)

* Added anonymous hub context.

* Added anonymous hub to nginx setup.

* Added deserialization options to ignore case on deserialization.
This commit is contained in:
Todd Martin
2023-05-31 11:12:43 -04:00
committed by GitHub
parent a62d0c5e52
commit c08e2a7473
4 changed files with 18 additions and 3 deletions

View File

@@ -134,6 +134,13 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
location /notifications/anonymous-hub {
proxy_pass http://localhost:5006/anonymous-hub;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
{{/if}}
{{#if (String.Equal env.BW_ENABLE_EVENTS "true")}}