Skip to content

Commit

Permalink
Remove deprecated websocket config (#288)
Browse files Browse the repository at this point in the history
* remove deprecated upstream wsbackend

* remove deprecated wsbackend location handling

* remove deprected websocket enabler
  • Loading branch information
einschmidt authored Jan 7, 2024
1 parent 7845c67 commit 21e242c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 24 deletions.
4 changes: 0 additions & 4 deletions bitwarden/rootfs/etc/nginx/includes/upstream.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
upstream backend {
server 127.0.0.1:80;
}

upstream wsbackend {
server 127.0.0.1:8080;
}
8 changes: 0 additions & 8 deletions bitwarden/rootfs/etc/nginx/servers/direct-ssl.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,4 @@ server {
proxy_pass http://backend;
}

location /notifications/hub {
proxy_pass http://wsbackend;
}

location /notifications/hub/negotiate {
proxy_pass http://backend;
}

}
8 changes: 0 additions & 8 deletions bitwarden/rootfs/etc/nginx/servers/direct.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,4 @@ server {
proxy_pass http://backend;
}

location /notifications/hub {
proxy_pass http://wsbackend;
}

location /notifications/hub/negotiate {
proxy_pass http://backend;
}

}
4 changes: 0 additions & 4 deletions bitwarden/rootfs/etc/s6-overlay/s6-rc.d/vaultwarden/run
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ if bashio::config.has_value 'request_size_limit'; then
export ROCKET_LIMITS="{json=${request_size_limit}}"
fi

# Always enable Websockets
export WEBSOCKET_ENABLED=true
export WEBSOCKET_PORT=8080

# Run the Bitwarden server
bashio::log.info 'Starting the Vaultwarden server...'
cd /opt || bashio::exit.nok
Expand Down

0 comments on commit 21e242c

Please sign in to comment.