mirror of
https://github.com/YunoHost-Apps/mautic_ynh.git
synced 2024-09-03 19:36:26 +02:00
Fix NGINX
This commit is contained in:
parent
929e9fd8a0
commit
bdc75a92da
2 changed files with 27 additions and 1 deletions
25
conf/local.php
Normal file
25
conf/local.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
db_driver=pdo_mysql
|
||||
db_host=localhost
|
||||
db_port=3306
|
||||
db_name=__DB_NAME__
|
||||
db_user=__DB_USER__
|
||||
db_password=__DB_PWD__
|
||||
db_table_prefix=bak_
|
||||
db_backup_tables=true
|
||||
db_backup_prefix=bak_
|
||||
admin_firstname=ADMIN_FIRSTNAME Admin first name.
|
||||
admin_lastname=ADMIN_LASTNAME Admin last name.
|
||||
admin_username=__ADMIN__ Admin username.
|
||||
admin_email=__EMAIL__ Admin email.
|
||||
admin_password=__PASSWORD__ Admin user.
|
||||
mailer_from_name[=MAILER_FROM_NAME] From name for email sent from Mautic.
|
||||
mailer_from_email[=MAILER_FROM_EMAIL] From email sent from Mautic.
|
||||
mailer_transport[=MAILER_TRANSPORT] Mail transport.
|
||||
mailer_host=MAILER_HOST SMTP host.
|
||||
mailer_port=MAILER_PORT SMTP port.
|
||||
mailer_user=MAILER_USER SMTP username.
|
||||
mailer_password[=MAILER_PASSWORD] SMTP password.
|
||||
mailer_encryption[=MAILER_ENCRYPTION] SMTP encryption (null|tls|ssl).
|
||||
mailer_auth_mode[=MAILER_AUTH_MODE] SMTP auth mode (null|plain|login|cram-md5).
|
||||
mailer_spool_type=MAILER_SPOOL_TYPE Spool mode (file|memory).
|
||||
mailer_spool_path=MAILER_SPOOL_PATH Spool path.
|
|
@ -10,7 +10,8 @@ location __PATH__/ {
|
|||
|
||||
rewrite ^__PATH__/(vendor|translations|build)/.* /index.php break;
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
try_files $uri /index.php;
|
||||
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;
|
||||
|
|
Loading…
Add table
Reference in a new issue