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:
parent
4aa25d4c76
commit
02ef031341
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue