#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/public;
    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