Skip to content

Commit

Permalink
Expose websockets on controller v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmarshall24 committed Apr 25, 2024
1 parent 3fa6085 commit 169e9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/installer/templates/configmaps/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ data:
alias /var/lib/awx/public/static/media/favicon.ico;
}

location ~ ^({{ (ingress_path + '/websocket/').replace('//', '/') }}|{{ (ingress_path + '/api/websocket/').replace('//', '/') }}) {
location ~ ^({{ (ingress_path + '/websocket/').replace('//', '/') }}|{{ (ingress_path + '/api/websocket/').replace('//', '/') }}|{{ (ingress_path + '/api/controller/v2/websocket/').replace('//', '/') }}) {
# Pass request to the upstream alias
proxy_pass http://daphne;
# Require http version 1.1 to allow for upgrade requests
Expand Down

0 comments on commit 169e9f9

Please sign in to comment.