1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautic_ynh.git synced 2024-09-03 19:36:26 +02:00
This commit is contained in:
Éric Gaspar 2023-05-23 10:29:30 +02:00
parent 6708492232
commit 12bc2c0c0d
4 changed files with 5 additions and 5 deletions

View file

@ -11,8 +11,7 @@ location __PATH__/ {
# redirect some entire folders # redirect some entire folders
rewrite ^__PATH__/(vendor|translations|build)/.* /index.php break; rewrite ^__PATH__/(vendor|translations|build)/.* /index.php break;
#try_files $uri /index.php; try_files $uri __PATH__/index.php$is_args$args;
try_files $uri /index.php$is_args$args;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;

View file

@ -17,7 +17,7 @@ admindoc = "https://docs.mautic.org/en"
code = "https://github.com/mautic/mautic" code = "https://github.com/mautic/mautic"
[integration] [integration]
yunohost = ">= 11.1.18" yunohost = ">= 11.1.19"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = false ldap = false
@ -42,6 +42,7 @@ ram.runtime = "50M"
url = "https://github.com/mautic/mautic/releases/download/4.4.8/4.4.8.zip" url = "https://github.com/mautic/mautic/releases/download/4.4.8/4.4.8.zip"
sha256 = "e238648fb0c31e500383ac7b93e04b3a2dfcfd2335b756db36907c2ffd0a60ac" sha256 = "e238648fb0c31e500383ac7b93e04b3a2dfcfd2335b756db36907c2ffd0a60ac"
in_subdir = false in_subdir = false
autoupdate.strategy = "latest_github_tag"
[resources.system_user] [resources.system_user]

View file

@ -70,7 +70,7 @@ chmod -R g+w $install_dir/translations/
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2 ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config