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