1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2026-02-21 19:12:05 +00:00

Less awkward htacess rendering

This commit is contained in:
Holger Just 2016-03-04 10:25:03 +01:00
parent 208f469b88
commit 55112cf2ed
2 changed files with 4 additions and 6 deletions

View File

@ -152,6 +152,8 @@ ready do
@articles = articles
end
end
proxy '/.htaccess', '/.htaccess.html', ignore: true
end
###
@ -208,7 +210,6 @@ set :js_dir, 'javascripts'
set :images_dir, 'images'
set :partials_dir, 'partials'
# Build-specific configuration
configure :build do
# For example, change the Compass output style for deployment
@ -229,11 +230,6 @@ configure :build do
# set :http_prefix, "/Content/images/"
end
after_build do
# rename file after build
File.rename 'build/.htaccess.apache', 'build/.htaccess'
end
activate :deploy do |deploy|
deploy.method = :rsync
deploy.host = 'holgerjust.de'

View File

@ -1,6 +1,8 @@
---
noindex: true
layout: false
directory_index: false
content_type: text/plain
---
# Aggressively cache assets
ExpiresActive On