mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[fix] Syntex error on setting helper
This commit is contained in:
parent
9528aff4ad
commit
ac8cf9adc8
2 changed files with 8 additions and 8 deletions
|
@ -1,13 +1,13 @@
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:8069/;
|
proxy_pass http://127.0.0.1:8069/;
|
||||||
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
|
||||||
proxy_buffers 16 64k;
|
proxy_buffers 16 64k;
|
||||||
proxy_buffer_size 128k;
|
proxy_buffer_size 128k;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Host $server_name;
|
proxy_set_header X-Forwarded-Host $server_name;
|
||||||
proxy_read_timeout 999999999;
|
proxy_read_timeout 999999999;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ is_master=false
|
||||||
# Exit to allow host change in my trap function
|
# Exit to allow host change in my trap function
|
||||||
function exit_without_linter_warning
|
function exit_without_linter_warning
|
||||||
{
|
{
|
||||||
ynh_die $1 $2
|
ynh_die "$1" $2
|
||||||
}
|
}
|
||||||
|
|
||||||
function exit_properly
|
function exit_properly
|
||||||
|
@ -126,7 +126,7 @@ ynh_psql_create_db() {
|
||||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
|
|
||||||
# Make Odoo public
|
# Make Odoo public
|
||||||
ynh_app_setting_set $app skipped_uris -v "/"
|
ynh_app_setting_set "$app" skipped_uris "/"
|
||||||
|
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue