Leantime 3.9.8 Wiki "Save failed" on creating article - Resolved

I have searched the forum for similar issues

on

This category is for issues regarding specific apps, NOT general issues with YunoHost.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What app is this about, and its version

Leantime 3.9.8

What YunoHost version are you running

12.1.41.2

What type of hardware are you using

VPS bought online

Describe your issue

Save failed on wiki article
I fixed this issue.
In the NGINX file related to leantime : Nano /etc/nginx/conf.d/…/leantime.conf
I put here the content that fixed the issue.

Share relevant logs or error messages

location / {

Path to source

alias /var/www/leantime/public/;

index index.php;

rewrite ^/?$ /index.php?act=dashboard.show;
rewrite ^/(?[^/.]+)/?$ /index.php?act=$act;
rewrite ^/(?[^/.]+)/(?[^/.]+)/?$ /index.php?act=$domain.$act;
rewrite ^/(?[^/.]+)/(?[^/.]+)/(?[^/.]+)/?$ /index.php?act=$domain.$act&id=$id;

client_max_body_size 50M;

try_files $uri $uri/ /index.php;

try_files $uri $uri/ @leantime;

location ~ [^/].php(/|$) {
fastcgi_pass unix:/var/run/php/php8.5-fpm-leantime.sock;
include fastcgi_params_no_auth;
}
location @leantime {
include fastcgi_params_no_auth;

        fastcgi_param SCRIPT_FILENAME /var/www/leantime/public/index.php;
        fastcgi_param SCRIPT_NAME /index.php;
        fastcgi_param QUERY_STRING $args;

        fastcgi_pass unix:/var/run/php/php8.5-fpm-leantime.sock;
    }

}