My spring boot websocket(ws) endpoint works fine on localhost with angular (rxstomp).
The prod server use nginx (https) and I can't connect to the ws. The FE and BE are on the same server in docker, on different url.
Nginx conf:
location /ws {
 ...
 proxy_pass http://backend/ws
 ...
}
BE: 
    @Override
    public void registerStompEndpoints(StompEndpointRegistry registry) {
        registry.addEndpoint("/ws")
                .setAllowedOrigins(frontendUrl);
    }
FE: 
export function rxStompServiceFactory() {
    const rxStomp = new RxStompService();
    rxStomp.configure(myRxStompConfig);
    rxStomp.activate();
    return rxStomp;
}
export const myRxStompConfig: RxStompConfig = {
    brokerURL: 'ws://localhost:8088/ws',
...
Please help
Thanks
