mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 02:58:13 -03:30
Adds configuration for the network-ui websocket
* Configures NGINX for the network-ui websocket. * Configures supervisor.conf for network_ui websocket.
This commit is contained in:
@@ -30,7 +30,7 @@ server {
|
||||
sendfile off;
|
||||
}
|
||||
|
||||
location /websocket {
|
||||
location ~ ^/(websocket|network_ui) {
|
||||
# Pass request to the upstream alias
|
||||
proxy_pass http://daphne;
|
||||
# Require http version 1.1 to allow for upgrade requests
|
||||
@@ -90,7 +90,7 @@ server {
|
||||
sendfile off;
|
||||
}
|
||||
|
||||
location /websocket {
|
||||
location ~ ^/(websocket|network_ui) {
|
||||
# Pass request to the upstream alias
|
||||
proxy_pass http://daphne;
|
||||
# Require http version 1.1 to allow for upgrade requests
|
||||
|
||||
@@ -20,7 +20,7 @@ stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
|
||||
[program:runworker]
|
||||
command = python manage.py runworker --only-channels websocket.*
|
||||
command = python manage.py runworker
|
||||
autostart = true
|
||||
autorestart = true
|
||||
redirect_stderr=true
|
||||
|
||||
Reference in New Issue
Block a user