1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/BicBucStriim_ynh.git synced 2024-09-03 18:15:53 +02:00

change nginx config

This commit is contained in:
Salamandar 2024-02-26 21:21:41 +01:00
parent e74dbbcf4a
commit 5383654179

View file

@ -12,10 +12,7 @@ location __PATH__/ {
index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 50M;
try_files $uri $uri/ __PATH__/index.php;
try_files $uri $uri/ @bicbucstriim;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
@ -31,3 +28,7 @@ location __PATH__/ {
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location @bicbucstriim {
rewrite /(.*)$ /index.php?/$1 last;
}