diff --git a/templates/nginx/configs/default.conf b/templates/nginx/configs/default.conf index 6ce3dd8..43eff1e 100644 --- a/templates/nginx/configs/default.conf +++ b/templates/nginx/configs/default.conf @@ -5,14 +5,6 @@ error_page 404 = /error/404; port_in_redirect off; rewrite ^/recipe-items/(.*)$ /recipes/$1 permanent; -rewrite ^(/de/detail/)(.*)$ http:// permanent; -rewrite ^/sitemapindex\.xml$ /index.php?sitemap=1 last; -rewrite ^/([^/]+?)_part([0-9]+)?\.xml$ /index.php?sitemap=$1&sitemap_n=$2 last; -rewrite ^/([^/]+?)\.xml$ /index.php?sitemap=$1 last; -rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last; -rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2; zip=true" last; -rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last; -rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last; expires 30d; location / {