Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

What's the settings for SITEMAP.XML on nginx?

This discussion is related to the Sitemaps addon.

hi Guys, my sitemap dont work on nginx , what did i miss?

Comments

  • semplonsemplon Malang New

    Hello, This is my sites nginx config. try this

            location / {
                    try_files $uri @rewrite;
            }
    
            location = /sitemapindex.xml {
                    try_files $uri @rewrite;
            }
    
            location ~* /sitemap-(.*).xml {
                    try_files $uri @rewrite;
            }
    
            location @rewrite {
                    rewrite ^ /index.php?p=$uri&$args last;
            }
    
    
Sign In or Register to comment.