mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 02:30:01 -03:30
Merge pull request #1705 from benthomasson/network_ui_openshift_fix
Adds websocket for network_ui to the installer version of nginx.conf
This commit is contained in:
@@ -49,7 +49,7 @@ http {
|
|||||||
|
|
||||||
location /favicon.ico { alias /var/lib/awx/public/static/favicon.ico; }
|
location /favicon.ico { alias /var/lib/awx/public/static/favicon.ico; }
|
||||||
|
|
||||||
location /websocket {
|
location ~ ^/(websocket|network_ui/topology/) {
|
||||||
# Pass request to the upstream alias
|
# Pass request to the upstream alias
|
||||||
proxy_pass http://daphne;
|
proxy_pass http://daphne;
|
||||||
# Require http version 1.1 to allow for upgrade requests
|
# Require http version 1.1 to allow for upgrade requests
|
||||||
|
|||||||
Reference in New Issue
Block a user