Skip to content

Commit

Permalink
Extend gzip file serving to /public/webpack
Browse files Browse the repository at this point in the history
With compression-webpack-plugin, precompressed files are also available
in `~foreman/public/webpack/` and may be served if available.
  • Loading branch information
domcleal authored and mmoll committed Jan 27, 2017
1 parent bcaf4f8 commit 449418a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_assets.conf.erb
Expand Up @@ -11,7 +11,7 @@

</Directory>

<Directory <%= @docroot %>/assets>
<Directory ~ <%= @docroot %>/(assets|webpack)>

# Use standard http expire header for assets instead of ETag
<IfModule mod_expires.c>
Expand Down

0 comments on commit 449418a

Please sign in to comment.