1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emoncms_ynh.git synced 2024-09-03 18:36:03 +02:00
This commit is contained in:
Éric Gaspar 2023-12-14 16:48:13 +01:00
parent 7c7299027b
commit eb51ab1218
3 changed files with 8 additions and 7 deletions

View file

@ -179,18 +179,18 @@ $_settings = array(
// (OPTIONAL) Email SMTP, used for password reset or other email functions // (OPTIONAL) Email SMTP, used for password reset or other email functions
"smtp"=>array( "smtp"=>array(
// Email address to email proccessed input values // Email address to email proccessed input values
'default_emailto' => '', 'default_emailto' => '__EMAIL__',
'host'=>"localhost", 'host'=>"localhost",
// 25, 465, 587 // 25, 465, 587
'port'=>"25", 'port'=>"25",
'from_email' => '', 'from_email' => 'emoncsm@__DOMAIN__',
'from_name' => '', 'from_name' => 'Emoncsm',
// comment lines below that dont apply // comment lines below that dont apply
// ssl, tls // ssl, tls
'encryption'=>"", 'encryption'=>"",
'username'=>"", 'username'=>"__APP__",
'password'=>"" 'password'=>"__MAIL_PWD__"
), ),
// Log file configuration // Log file configuration

View file

@ -7,9 +7,10 @@ location __PATH__/ {
index index.php; index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
#client_max_body_size 50M; client_max_body_size 50M;
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;

View file

@ -47,8 +47,8 @@ ram.runtime = "50M"
url = "https://github.com/emoncms/emoncms/archive/refs/tags/11.4.2.tar.gz" url = "https://github.com/emoncms/emoncms/archive/refs/tags/11.4.2.tar.gz"
sha256 = "a374ad0a950c5d966b62d54266bf6761d641417785b64fbf6442f7753b386d6f" sha256 = "a374ad0a950c5d966b62d54266bf6761d641417785b64fbf6442f7753b386d6f"
[resources.system_user] [resources.system_user]
allow_email = true
[resources.install_dir] [resources.install_dir]