diff --git a/http/Provision/Config/Nginx/Inc/vhost_include.tpl.php b/http/Provision/Config/Nginx/Inc/vhost_include.tpl.php index c3bb25ea0abd3211b81d6f3c8692861784fd5231..1fa1bc3c9825b7f190e84e4ca60b57ec5ed8c8e3 100644 --- a/http/Provision/Config/Nginx/Inc/vhost_include.tpl.php +++ b/http/Provision/Config/Nginx/Inc/vhost_include.tpl.php @@ -760,6 +760,13 @@ location ~* \.css$ { try_files /cache/perm/$host${uri}_.css $uri =404; } +### +### Support for dynamic /sw.js requests. See #2982073 on drupal.org +### +location = /sw.js { + try_files $uri @drupal; +} + ### ### Make js files compatible with boost caching. ###