mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-25 11:58:44 +08:00
14 lines
374 B
Plaintext
14 lines
374 B
Plaintext
location = /sitemap.xml {
|
|
rewrite ^(.*)$ /index.php?route=feed/google_sitemap break;
|
|
}
|
|
location = /googlebase.xml {
|
|
rewrite ^(.*)$ /index.php?route=feed/google_base break;
|
|
}
|
|
location / {
|
|
# This try_files directive is used to enable SEO-friendly URLs for OpenCart
|
|
try_files $uri $uri/ @opencart;
|
|
}
|
|
location @opencart {
|
|
rewrite ^/(.+)$ /index.php?_route_=$1 last;
|
|
}
|