1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautic_ynh.git synced 2024-09-03 19:36:26 +02:00

Merge pull request #14 from YunoHost-Apps/testing

Update nginx.conf
This commit is contained in:
Éric Gaspar 2022-03-20 16:07:20 +01:00 committed by GitHub
commit 05bbe78251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 14 deletions

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Open Source Marketing Automation Software
**Shipped version:** 4.1.2~ynh1
**Shipped version:** 4.2.0~ynh1
**Demo:** https://www.mautic.org/demo

View file

@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Logiciel d'automatisation marketing open source
**Version incluse :** 4.1.2~ynh1
**Version incluse :** 4.2.0~ynh1
**Démo :** https://www.mautic.org/demo

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/mautic/mautic/releases/download/4.1.2/4.1.2.zip
SOURCE_SUM=50c978301ef8d2ab9aab4ef60e0692667b72fcfd233d431c083e6422cf1778eb
SOURCE_URL=https://github.com/mautic/mautic/releases/download/4.2.0/4.2.0.zip
SOURCE_SUM=9f087e3c889381cc4abbcf080abd3379986d378b5c2461f01d172d31a5d14a5d
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false

View file

@ -7,13 +7,8 @@ location __PATH__/ {
index index.php;
client_max_body_size 100M;
#try_files $uri /index.php$is_args$args;
rewrite ^__PATH__/(vendor|translations|build)/.* /index.php break;
#if (!-e $request_filename) {
# rewrite ^__PATH__/(.*)$ __PATH__/index.php?q=$1 last;
#}
try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {
@ -39,21 +34,21 @@ location __PATH__/ {
gzip off;
default_type "image/gif";
more_set_headers "Access-Control-Allow-Origin: *";
try_files $uri /index.php?$args;
try_files $uri __PATH__/index.php;
}
# Mautic tracking code
location = __PATH__/mtc.js {
expires off;
default_type "application/javascript";
try_files $uri $uri/ /index.php$is_args$args;
try_files $uri $uri/ __PATH__/index.php;
}
# Embedded forms
location = __PATH__/form/generate.js {
expires off;
default_type "application/javascript";
try_files $uri $uri/ /index.php$is_args$args;
try_files $uri $uri/ __PATH__/index.php;
}
# Include SSOWAT user panel.

View file

@ -6,7 +6,7 @@
"en": "Open Source Marketing Automation Software",
"fr": "Logiciel d'automatisation marketing open source"
},
"version": "4.1.2~ynh1",
"version": "4.2.0~ynh1",
"url": "https://www.mautic.org/",
"upstream": {
"license": "GPL-3.0-only",
@ -26,7 +26,7 @@
"multi_instance": true,
"services": [
"nginx",
"php7.3-fpm",
"php7.4-fpm",
"mysql"
],
"arguments": {