1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/taskboard_ynh.git synced 2024-09-03 20:26:27 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2021-02-01 16:30:27 +01:00
parent 09eb81f020
commit 8f9de329e3
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -14,7 +14,7 @@ location __PATH__/ {
client_max_body_size 100M;
client_body_buffer_size 128k;
#try_files $uri $uri/ index.php;
try_files $uri $uri/ @__NAME__;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
@ -31,6 +31,10 @@ location __PATH__/ {
include conf.d/yunohost_panel.conf.inc;
}
location @__NAME__ {
rewrite ^__PATH__/(.*)$ __PATH__/index.php?/$1 last;
}
location __PATH__/api {
if (!-e $request_filename) {
rewrite ^(.*)$ __PATH__/api/index.php last; break;