Switch to docker-compose with .htaccess support

This commit is contained in:
Nick Sellen
2018-12-15 13:04:49 +00:00
parent 818f4e4dc5
commit 5cf4d22662
7 changed files with 598 additions and 29 deletions

13
.htaccess Normal file
View File

@ -0,0 +1,13 @@
# Serve .html files without extensions
Options +MultiViews
# If a SVG and a PNG exists the prefer the SVG
AddType image/svg+xml;qs=0.9 svg
AddType image/png;qs=0.8 png
# Work around Apache bug from 2002
# https://bz.apache.org/bugzilla/show_bug.cgi?id=53595
# https://kevinlocke.name/bits/2012/07/20/serving-xhtml-with-apache-multiviews/
Header always edit "Content-Type" ";\s*qs=[0-9]*(?:\.[0-9]+)?\s*" ""
AddOutputFilter DEFLATE svg
AddOutputFilter DEFLATE css
AddOutputFilter DEFLATE js