mirror of
https://github.com/YunoHost-Apps/emoncms_ynh.git
synced 2024-09-03 18:36:03 +02:00
fix
This commit is contained in:
parent
7c7299027b
commit
eb51ab1218
3 changed files with 8 additions and 7 deletions
|
@ -179,18 +179,18 @@ $_settings = array(
|
|||
// (OPTIONAL) Email SMTP, used for password reset or other email functions
|
||||
"smtp"=>array(
|
||||
// Email address to email proccessed input values
|
||||
'default_emailto' => '',
|
||||
'default_emailto' => '__EMAIL__',
|
||||
|
||||
'host'=>"localhost",
|
||||
// 25, 465, 587
|
||||
'port'=>"25",
|
||||
'from_email' => '',
|
||||
'from_name' => '',
|
||||
'from_email' => 'emoncsm@__DOMAIN__',
|
||||
'from_name' => 'Emoncsm',
|
||||
// comment lines below that dont apply
|
||||
// ssl, tls
|
||||
'encryption'=>"",
|
||||
'username'=>"",
|
||||
'password'=>""
|
||||
'username'=>"__APP__",
|
||||
'password'=>"__MAIL_PWD__"
|
||||
),
|
||||
|
||||
// Log file configuration
|
||||
|
|
|
@ -7,9 +7,10 @@ location __PATH__/ {
|
|||
index index.php;
|
||||
|
||||
# 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;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
|
@ -47,8 +47,8 @@ ram.runtime = "50M"
|
|||
url = "https://github.com/emoncms/emoncms/archive/refs/tags/11.4.2.tar.gz"
|
||||
sha256 = "a374ad0a950c5d966b62d54266bf6761d641417785b64fbf6442f7753b386d6f"
|
||||
|
||||
|
||||
[resources.system_user]
|
||||
allow_email = true
|
||||
|
||||
[resources.install_dir]
|
||||
|
||||
|
|
Loading…
Reference in a new issue