mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Allow connecting to websockets via api/websocket/
* Before, we just allowed websockets on <host>/websocket/. With this change, they can now come from <host>/api/websocket/
This commit is contained in:
committed by
Chris Meyers
parent
ecbb16960f
commit
1eb8501430
@@ -188,7 +188,7 @@ data:
|
||||
alias /var/lib/awx/public/static/media/favicon.ico;
|
||||
}
|
||||
|
||||
location {{ (ingress_path + '/websocket').replace('//', '/') }} {
|
||||
location ~ ({{ (ingress_path + '/websocket').replace('//', '/') }}|{{ (ingress_path + '/api/websocket').replace('//', '/') }}) {
|
||||
# Pass request to the upstream alias
|
||||
proxy_pass http://daphne;
|
||||
# Require http version 1.1 to allow for upgrade requests
|
||||
|
||||
Reference in New Issue
Block a user