nginx server configuration in rank math

#236528
  • Resolved Maneesh Kushwaha
    Rank Math free

    nginx server configuration in rank math
    Nginx

    server {

    root /var/www/upboard;
    index index.html index.htm index.php;

    server_name यूपीबोर्डसॉल्यूशंस.com;

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

    # Yoast Seo xml
    include snippets/yoast-sitemaps.xml;

    # Browser caching conf
    include snippets/browser-cache.conf;

    # Gzip Compression
    include snippets/gzip.conf;

    # START Nginx Rewrites for Rank Math Sitemaps
    rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
    rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
    # END Nginx Rewrites for Rank Math Sitemaps

    location ~ \.php$ {
    include snippets/fastcgi-php.conf;
    fastcgi_pass unix:/run/php/php7.4-fpm.sock;
    }
    location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ {
    expires max;
    log_not_found off;
    }

    }

    Please tell me Sir

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay.

    I’m not quite sure whether I fully understand your concern.

    Could you please clarify or confirm if there are any issues with your Nginx configuration or what you’re trying to achieve?

    This will help us to advise you accordingly about your concern.

    Looking forward to helping you.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘nginx server configuration in rank math’ is closed to new replies.