Skip to content

Instantly share code, notes, and snippets.

@fabiancarlos
Last active February 27, 2020 15:03
Show Gist options
  • Save fabiancarlos/1cd0e2a86049887e1376d81d62a74af8 to your computer and use it in GitHub Desktop.
Save fabiancarlos/1cd0e2a86049887e1376d81d62a74af8 to your computer and use it in GitHub Desktop.
Mautic, NGINX, PHP FPM 7.033, MariaDB
NGINX
PHP-FPM 7.0.33
server {
listen 80;
root /var/www/html/mautic;
index index.php index.html index.htm index.nginx-debian.html;
server_name mautic.your_domain.com;
location / {
try_files $uri $uri/ /?q=$uri&$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
}
location ~ /\.ht {
deny all;
}
location ~ mtc.js{
try_files $uri @phpstream;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment