From c813a81b2136e0aeef7d596c029a0bb4e8209f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:55:09 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ba6feaf..2ea9f11 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location __PATH__/ { index index.php; - try_files $uri $uri/ __PATH__/index.php; + try_files $uri $uri/ @bicbucstriim; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; @@ -28,3 +28,8 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } + +location @bicbucstriim { + rewrite /(.*)$ /index.php?/$1 last; +} +