mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Fixes timeout when exporting YAML from network UI
Exporting YAML on dev envs with honcho and in production environments would timeout. This was due to daphne handling the export request in dev but not in production. This fixes network_ui to use uwsgi instead of daphne to handle the request.
This commit is contained in:
@@ -30,7 +30,7 @@ server {
|
||||
sendfile off;
|
||||
}
|
||||
|
||||
location ~ ^/(websocket|network_ui) {
|
||||
location ~ ^/(websocket|network_ui/topology/) {
|
||||
# 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|network_ui) {
|
||||
location ~ ^/(websocket|network_ui/topology/) {
|
||||
# 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