From 98287ea0d46d615e37d9d6ec99cfb4892807e195 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Wed, 31 Dec 2025 16:59:05 +0100 Subject: [PATCH] [autopatch] Automatic patch to simplify `proxy_pass`/`fastcgi_pass` options in nginx.conf (PLEASE DOUBLE CHECK BEFORE MERGING) --- conf/nginx.conf | 10 +--------- manifest.toml | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index db1442a..d4e144a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -27,12 +27,7 @@ location ^~ __PATH__/ { fastcgi_split_path_info ^(.+?\.php)(/.*|)$; set $path_info $fastcgi_path_info; fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock; - - fastcgi_index index.php; - include fastcgi_params; - fastcgi_param REMOTE_USER $remote_user; - fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_param SCRIPT_FILENAME $request_filename; + include fastcgi_params_no_auth; } # Adding the cache control header for js and css files @@ -51,7 +46,4 @@ location ^~ __PATH__/ { # Optional: Don't log access to assets access_log off; } - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; } diff --git a/manifest.toml b/manifest.toml index ce41293..85308ae 100644 --- a/manifest.toml +++ b/manifest.toml @@ -20,7 +20,7 @@ userdoc = "https://invoiceninja.github.io/" code = "https://github.com/invoiceninja/invoiceninja" [integration] -yunohost = ">= 12.1.17" +yunohost = ">= 12.1.38" helpers_version = "2.1" architectures = "all" multi_instance = true