Osclass + nginx

I have osclass on a vhost (nginx)

`server {
listen 80 ;

    server_name ventas.azeroth.cu www.ventas.azeroth.cu;

    return 301 https://$server_name$request_uri;

}

server {

    listen 443 ssl default_server;

    ssl_certificate /etc/nginx/ssl/server_crt.pem;
    ssl_certificate_key /etc/nginx/ssl/server_key.pem;
    ssl_trusted_certificate /etc/nginx/ssl/server_crt.pem;


    root /var/www/html/ventas/public_html;

    index index.html index.htm index.php;

    server_name ventas.azeroth.cu.cu www.ventas.azeroth.cu;

    location / {
            try_files $uri $uri/ /index.php$is_args$args;
    }

    location ~ \.php$ {
            include snippets/fastcgi-php.conf;
            fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
    }

}`

but, example,https://ventas.azeroth.cu that ok, but https://ventas.azeroth.cu/index.php?page=search&sCategory=17 give me ERR_TOO_MANY_REDIRECTS

Fixed
location / {
try_files $uri $uri/ /index.php?$args;
}