Added FrontController CMS

This commit is contained in:
2021-01-27 12:19:07 +01:00
parent 39da2f54d7
commit bd4e431215
5 changed files with 120 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
#beginConf
#access_log /var/log/nginx/SITEname-access.log;
error_log /var/log/nginx/SITEname-error.log;
index index.php index.html;
root /var/www/DOMAINname/html;
gzip on;
gzip_proxied any;
gzip_types text/plain text/css text/xml text/javascript application/javascript application/x-javascript image/svg image/svg+xml application/xml image/x-icon;
gzip_comp_level 2;
gzip_disable "msie6";
gzip_buffers 16 8k;
#include snippets/ngx-backendredir.conf;
location / {
try_files $uri $uri/ $uri.html /index.php$is_args$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/phpPHPver-fpm-SITEname.sock;
}
location ~ /\.ht {
deny all;
}
#endConf