aboutsummaryrefslogtreecommitdiff
path: root/config/hex-zero.conf.apache.nossl
diff options
context:
space:
mode:
Diffstat (limited to 'config/hex-zero.conf.apache.nossl')
-rw-r--r--config/hex-zero.conf.apache.nossl17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/hex-zero.conf.apache.nossl b/config/hex-zero.conf.apache.nossl
new file mode 100644
index 0000000..10b3fb0
--- /dev/null
+++ b/config/hex-zero.conf.apache.nossl
@@ -0,0 +1,17 @@
+# Apache example config for hex-zero application without ssl
+<VirtualHost *:80>
+ ServerName 0x0.ipa.example.com
+ ServerAdmin webmaster@localhost
+ DocumentRoot /var/www/html
+ #LogLevel info ssl:warn
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
+ # This reverse proxy definition exists for when you run hex-zero on
+ # loopback and want to use apache to protect it either with
+ # authentication or TLS. This hostname and port number must match the
+ # hex-zero.conf values for APP_HOST_LISTEN and APP_PORT.
+ # And the hostname and path must match APP_URL from the same file.
+ ProxyPass /hex-zero http://localhost:3031/
+ ProxyPassReverse /hex-zero http://localhost:3031/
+</VirtualHost>
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
bgstack15