summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-08 21:03:41 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-08 21:03:41 +0000
commit2cb0733854d69aa34dc824ccfa07e32516429d1d (patch)
tree9cc4280a7008e532dc1ddd5ad36e4703373417e6
parentUpdate to PHP-7.2 (diff)
downloadconfig-2cb0733854d69aa34dc824ccfa07e32516429d1d.tar.bz2
config-2cb0733854d69aa34dc824ccfa07e32516429d1d.tar.xz
config-2cb0733854d69aa34dc824ccfa07e32516429d1d.zip
Add mod_markdown
-rw-r--r--etc/apache/httpd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf
index 85f38f6..fd4fe26 100644
--- a/etc/apache/httpd.conf
+++ b/etc/apache/httpd.conf
@@ -56,6 +56,7 @@ LoadModule expires_module modules/mod_expires.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule remoteip_module modules/mod_remoteip.so
+LoadModule markdown_module modules/mod_markdown.so
CacheRoot "/var/cache/apache2/"
CacheEnable disk /
@@ -89,6 +90,7 @@ SSLSessionCache shmcb:/run/apache2/
AddType application/x-httpd-php .php
AddType text/xsl .xsl
+AddType text/markdown .md
# Compress output
FilterDeclare COMPRESS CONTENT_SET
@@ -117,6 +119,7 @@ PerlSetVar JavaScriptMinifier JavaScript::Minifier::XS
AuthLDAPURL "ldap://localhost:389/ou=Users,dc=random,dc=lan?uid?sub?(objectClass=*)"
</AuthnProviderAlias>
Alias "/.well-known" "/var/www/shared/letsencrypt/.well-known/"
+AddHandler markdown .md
# Host specific stuff
<VirtualHost *>