Skip to content

Cannot get websockets to work with Nginix Ingress/Load Balancer (controller) #13942

Answered by jase52476
jase52476 asked this question in Help
Discussion options

You must be logged in to vote

We finally figured it out by looking at some Azure support documentation.

Here is how we fixed the issue by removing all the annotations and used only these:

    nginx.ingress.kubernetes.io/cors-allow-methods: GET, PUT, POST, DELETE, OPTIONS
    nginx.ingress.kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/proxy-body-size: 10m
    nginx.ingress.kubernetes.io/ssl-redirect: 'true'
    nginx.ingress.kubernetes.io/websocket-services: web

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jase52476
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant