From ac8cf9adc8773bac4d2e8ffe795df494c54dc467 Mon Sep 17 00:00:00 2001 From: ljf Date: Tue, 29 Nov 2016 00:55:39 +0100 Subject: [PATCH] [fix] Syntex error on setting helper --- conf/nginx.conf | 12 ++++++------ scripts/install | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 64aa12f..b304052 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,13 +1,13 @@ location / { proxy_pass http://127.0.0.1:8069/; - proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; - proxy_buffers 16 64k; + proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; + proxy_buffers 16 64k; proxy_buffer_size 128k; - proxy_redirect off; + proxy_redirect off; proxy_set_header Host $host; 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-Host $server_name; - proxy_read_timeout 999999999; -} \ No newline at end of file + proxy_read_timeout 999999999; +} diff --git a/scripts/install b/scripts/install index a4e8a92..81a119f 100644 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,7 @@ is_master=false # Exit to allow host change in my trap function function exit_without_linter_warning { - ynh_die $1 $2 + ynh_die "$1" $2 } function exit_properly @@ -126,7 +126,7 @@ ynh_psql_create_db() { sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf # Make Odoo public -ynh_app_setting_set $app skipped_uris -v "/" +ynh_app_setting_set "$app" skipped_uris "/" sudo service nginx reload