Skip to content

A platform for community discussion. Free, open, simple.

PERF: cache path for svg-sprite in upcoming FA5

Sam1824ac9d3902
diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf
index f22dc22f8b8..48bb7a3c152 100644
--- a/config/nginx.sample.conf
+++ b/config/nginx.sample.conf
@@ -191,7 +191,7 @@ server {
# This big block is needed so we can selectively enable
# acceleration for backups and avatars
# see note about repetition above
- location ~ ^/(letter_avatar/|user_avatar|highlight-js|stylesheets|theme-javascripts|favicon/proxied|service-worker) {
+ location ~ ^/(svg-sprite/|letter_avatar/|user_avatar|highlight-js|stylesheets|theme-javascripts|favicon/proxied|service-worker) {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Request-Start "t=${msec}";