Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

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.