Skip to content

Commit 74d9397

Browse files
Merge pull request #149 from magento-thunder/MAGECLOUD-1999-master
MAGECLOUD-1999: Update magento-cloud Templates to Support Robots / Sitemap Generation Flows
2 parents 184d04b + 709d2be commit 74d9397

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.magento.app.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ web:
4444
\.(css|js|map|hbs|gif|jpe?g|png|tiff|wbmp|ico|jng|bmp|svgz|midi?|mp?ga|mp2|mp3|m4a|ra|weba|3gpp?|mp4|mpe?g|mpe|ogv|mov|webm|flv|mng|asx|asf|wmv|avi|ogx|swf|jar|ttf|eot|woff|otf|html?)$:
4545
allow: true
4646
/robots\.txt$:
47-
allow: true
47+
passthru: "/media/robots.txt"
48+
^/sitemap(.*)\.xml$:
49+
passthru: "/media/sitemap$1.xml"
4850
"/media":
4951
root: "pub/media"
5052
allow: true

0 commit comments

Comments
 (0)