Last active
February 27, 2020 15:03
-
-
Save fabiancarlos/1cd0e2a86049887e1376d81d62a74af8 to your computer and use it in GitHub Desktop.
Mautic, NGINX, PHP FPM 7.033, MariaDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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