mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Correct wsgi->uwsgi
This commit is contained in:
parent
2ad658b921
commit
8872c5d4fb
3 changed files with 4 additions and 4 deletions
|
@ -94,7 +94,7 @@ settings="$final_path/venv/lib/python2.7/site-packages/weblate/settings.py"
|
||||||
if [ "$old_path" == "/" ] && [ "$new_path" != "/" ]
|
if [ "$old_path" == "/" ] && [ "$new_path" != "/" ]
|
||||||
then
|
then
|
||||||
# uwsgi_param is only needed for non-root installation
|
# uwsgi_param is only needed for non-root installation
|
||||||
ynh_replace_string "#uwsgi_param " "wsgi_param " "$finalnginxconf"
|
ynh_replace_string "#uwsgi_param " "uwsgi_param " "$finalnginxconf"
|
||||||
ynh_replace_string "#uwsgi_modifier1 " "uwsgi_modifier1 " "$finalnginxconf"
|
ynh_replace_string "#uwsgi_modifier1 " "uwsgi_modifier1 " "$finalnginxconf"
|
||||||
|
|
||||||
if [ "$is_public" -eq 0 ]
|
if [ "$is_public" -eq 0 ]
|
||||||
|
@ -112,7 +112,7 @@ fi
|
||||||
if [ "$old_path" != "/" ] && [ "$new_path" == "/" ]
|
if [ "$old_path" != "/" ] && [ "$new_path" == "/" ]
|
||||||
then
|
then
|
||||||
# uwsgi_param is only needed for non-root installation
|
# uwsgi_param is only needed for non-root installation
|
||||||
ynh_replace_string "uwsgi_param " "#wsgi_param " "$finalnginxconf"
|
ynh_replace_string "uwsgi_param " "#uwsgi_param " "$finalnginxconf"
|
||||||
ynh_replace_string "uwsgi_modifier1 " "#uwsgi_modifier1 " "$finalnginxconf"
|
ynh_replace_string "uwsgi_modifier1 " "#uwsgi_modifier1 " "$finalnginxconf"
|
||||||
|
|
||||||
# ynh panel is only comptable with non-root installation
|
# ynh panel is only comptable with non-root installation
|
||||||
|
|
|
@ -106,7 +106,7 @@ if [ "$path_url" == "/" ]
|
||||||
then
|
then
|
||||||
# $finalnginxconf comes from ynh_add_nginx_config
|
# $finalnginxconf comes from ynh_add_nginx_config
|
||||||
# uwsgi_param is only needed for non-root installation
|
# uwsgi_param is only needed for non-root installation
|
||||||
ynh_replace_string "uwsgi_param " "#wsgi_param " "$finalnginxconf"
|
ynh_replace_string "uwsgi_param " "#uwsgi_param " "$finalnginxconf"
|
||||||
ynh_replace_string "uwsgi_modifier1 " "#uwsgi_modifier1 " "$finalnginxconf"
|
ynh_replace_string "uwsgi_modifier1 " "#uwsgi_modifier1 " "$finalnginxconf"
|
||||||
ynh_replace_string "location //" "location /" "$finalnginxconf"
|
ynh_replace_string "location //" "location /" "$finalnginxconf"
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ if [ "$path_url" == "/" ]
|
||||||
then
|
then
|
||||||
# $finalnginxconf comes from ynh_add_nginx_config
|
# $finalnginxconf comes from ynh_add_nginx_config
|
||||||
# uwsgi_param is only needed for non-root installation
|
# uwsgi_param is only needed for non-root installation
|
||||||
ynh_replace_string "uwsgi_param " "#wsgi_param " "$finalnginxconf"
|
ynh_replace_string "uwsgi_param " "#uwsgi_param " "$finalnginxconf"
|
||||||
ynh_replace_string "uwsgi_modifier1 " "#uwsgi_modifier1 " "$finalnginxconf"
|
ynh_replace_string "uwsgi_modifier1 " "#uwsgi_modifier1 " "$finalnginxconf"
|
||||||
ynh_replace_string "location //" "location /" "$finalnginxconf"
|
ynh_replace_string "location //" "location /" "$finalnginxconf"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue