|
...
|
...
|
@@ -282,7 +282,6 @@ function write_uwsgi_config {
|
|
282
|
282
|
else
|
|
283
|
283
|
local apache_conf=""
|
|
284
|
284
|
apache_conf=$(apache_site_config_for $name)
|
|
285
|
|
- echo "SetEnv proxy-sendcl 1" | sudo tee $apache_conf
|
|
286
|
285
|
iniset "$file" uwsgi socket "$socket"
|
|
287
|
286
|
iniset "$file" uwsgi chmod-socket 666
|
|
288
|
287
|
echo "ProxyPass \"${url}\" \"unix:${socket}|uwsgi://uwsgi-uds-${name}/\" retry=0 " | sudo tee -a $apache_conf
|
|
...
|
...
|
@@ -345,6 +344,7 @@ function write_local_uwsgi_http_config {
|
|
345
|
345
|
local apache_conf=""
|
|
346
|
346
|
apache_conf=$(apache_site_config_for $name)
|
|
347
|
347
|
echo "KeepAlive Off" | sudo tee $apache_conf
|
|
|
348
|
+ echo "SetEnv proxy-sendchunked 1" | sudo tee -a $apache_conf
|
|
348
|
349
|
echo "ProxyPass \"${url}\" \"http://127.0.0.1:$port\" retry=0 " | sudo tee -a $apache_conf
|
|
349
|
350
|
enable_apache_site $name
|
|
350
|
351
|
restart_apache_server
|