This commit is contained in:
Sebastian Hugentobler 2016-07-13 17:55:52 +02:00
parent c78924776e
commit 99e8b9c488
2 changed files with 14 additions and 1 deletions

View File

@ -4,14 +4,26 @@ $config = array();
$config['db_dsnw'] = 'pgsql://{{getenv "DBUSER"}}:{{getenv "DBPASSWORD"}}@{{getenv "DBHOST"}}/{{getenv "DBNAME"}}'; $config['db_dsnw'] = 'pgsql://{{getenv "DBUSER"}}:{{getenv "DBPASSWORD"}}@{{getenv "DBHOST"}}/{{getenv "DBNAME"}}';
$config['log_driver'] = 'syslog'; $config['log_driver'] = 'syslog';
$config['syslog_id'] = 'mail'; $config['syslog_facility'] = 'mail';
$config['default_host'] = '{{getenv "IMAPHOST"}}'; $config['default_host'] = '{{getenv "IMAPHOST"}}';
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
$config['smtp_server'] = '{{getenv "SMTPHOST"}}'; $config['smtp_server'] = '{{getenv "SMTPHOST"}}';
$config['smtp_port'] = 587; $config['smtp_port'] = 587;
$config['smtp_user'] = '%u'; $config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p'; $config['smtp_pass'] = '%p';
$config['smtp_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
$config['use_https'] = true; $config['use_https'] = true;
$config['des_key'] = '{{getenv "KEY"}}'; $config['des_key'] = '{{getenv "KEY"}}';

View File

@ -42,6 +42,7 @@ http {
include fastcgi_params; include fastcgi_params;
fastcgi_param PATH_INFO $path_info; fastcgi_param PATH_INFO $path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SERVER_NAME ;
fastcgi_param HTTPS on; fastcgi_param HTTPS on;
fastcgi_read_timeout 300; fastcgi_read_timeout 300;
fastcgi_pass php; fastcgi_pass php;