blob: 10b3fb0a7a779d15e1ee8a9ab532432679c72af3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
|