diff --git a/www/mod_http2-devel/Makefile b/www/mod_http2-devel/Makefile
index 69e20afa162a..20b4b88bf7fc 100644
--- a/www/mod_http2-devel/Makefile
+++ b/www/mod_http2-devel/Makefile
@@ -30,10 +30,13 @@ CFLAGS+= -I${LOCALBASE}/include
SUB_FILES= 200_mod_http2.conf 300_mod_proxy_http2.conf
PORTDOCS= README README.md
-PLIST_FILES= ${APACHEMODDIR}/mod_h2.so \
- ${APACHEMODDIR}/mod_proxy_h2.so
post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
+ ${INSTALL_DATA} ${WRKDIR}/200_mod_http2.conf \
+ ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d/200_mod_h2.conf.sample
+ ${INSTALL_DATA} ${WRKDIR}/300_mod_proxy_http2.conf \
+ ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d/300_mod_proxy_h2.conf.sample
# Rename mod_http2 to mod_h2 to avoid conflict with Apache24
${MV} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_http2.so.0.0.0 \
${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
diff --git a/www/mod_http2-devel/files/200_mod_http2.conf.in b/www/mod_http2-devel/files/200_mod_http2.conf.in
new file mode 100644
index 000000000000..16dbcfb2383a
--- /dev/null
+++ b/www/mod_http2-devel/files/200_mod_http2.conf.in
@@ -0,0 +1,8 @@
+# To enable, uncomment the LoadModule line
+
+# LoadModule md_module %%APACHE_MODDIR%%/mod_h2.so
+
+
+Protocols h2 http/1.1
+ProtocolsHonorOrder On
+
diff --git a/www/mod_http2-devel/files/300_mod_proxy_http2.conf.in b/www/mod_http2-devel/files/300_mod_proxy_http2.conf.in
new file mode 100644
index 000000000000..a03ecbc3efaa
--- /dev/null
+++ b/www/mod_http2-devel/files/300_mod_proxy_http2.conf.in
@@ -0,0 +1,8 @@
+# To enable, uncomment the LoadModule line
+
+# LoadModule md_module %%APACHE_MODDIR%%/mod_proxy_h2.so
+
+
+# ProxyPass "/app" "h2://app.example.com"
+# ProxyPassReverse "/app" "https://app.example.com"
+
diff --git a/www/mod_http2-devel/pkg-plist b/www/mod_http2-devel/pkg-plist
new file mode 100644
index 000000000000..c1480e4c0aed
--- /dev/null
+++ b/www/mod_http2-devel/pkg-plist
@@ -0,0 +1,6 @@
+@sample %%APACHEETCDIR%%/modules.d/200_mod_h2.conf.sample
+@sample %%APACHEETCDIR%%/modules.d/300_mod_proxy_h2.conf.sample
+%%APACHEMODDIR%%/mod_h2.so
+%%APACHEMODDIR%%/mod_proxy_h2.so
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.md