diff --git a/README.md b/README.md index ba38bef..551c52b 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve. -**Shipped version:** 1.18~ynh2 +**Shipped version:** 1.18~ynh3 **Demo:** http://www.ostickethacks.com/demo/demo_info.php diff --git a/README_fr.md b/README_fr.md index 71e7b8a..fa18389 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve. -**Version incluse :** 1.18~ynh2 +**Version incluse :** 1.18~ynh3 **Démo :** http://www.ostickethacks.com/demo/demo_info.php diff --git a/conf/nginx.conf b/conf/nginx.conf index 2d8e196..d5ce364 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,11 +9,7 @@ location __PATH__/ { # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file client_max_body_size 256M; - try_files $uri $uri/ index.php; - - location ~ ^/api/(?!http.php/)(.*) { - try_files $uri $uri/ /api/http.php/$1; - } + try_files $uri $uri/ index.php location ~ ^/pages/(?!index.php/)(.*) { try_files $uri $uri/ /pages/index.php/$1; @@ -34,6 +30,10 @@ location __PATH__/ { include conf.d/yunohost_panel.conf.inc; } +location ~ ^/api/(?!http.php/)(.*) { + try_files $uri $uri/ /api/http.php/$1; +} + location /include { deny all; return 403; diff --git a/manifest.toml b/manifest.toml index 5c73635..162a820 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "osTicket" description.en = "Open source support ticket system" description.fr = "Système de ticket de support open source" -version = "1.18~ynh2" +version = "1.18~ynh3" maintainers = ["yalh76"]