1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix Apache Directives [ci skip]

Directives need to be placed on their own lines in order to work. Tested on: `Server version: Apache/2.2.22 (Ubuntu); Server built:   Mar 19 2014 21:11:15`
This commit is contained in:
Jason Nochlin 2014-06-11 07:01:42 -04:00
parent 4aa25d4c76
commit 02ef031341

View file

@ -788,9 +788,11 @@ For Apache:
# `mod_expires` to be enabled.
<Location /assets/>
# Use of ETag is discouraged when Last-Modified is present
Header unset ETag FileETag None
Header unset ETag
FileETag None
# RFC says only cache for 1 year
ExpiresActive On ExpiresDefault "access plus 1 year"
ExpiresActive On
ExpiresDefault "access plus 1 year"
</Location>
```