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:
parent
208f469b88
commit
55112cf2ed
@ -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'
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
---
|
||||
noindex: true
|
||||
layout: false
|
||||
directory_index: false
|
||||
content_type: text/plain
|
||||
---
|
||||
# Aggressively cache assets
|
||||
ExpiresActive On
|
||||
Loading…
x
Reference in New Issue
Block a user