blob: 821b7b8aca3d72f98cf687f998ea09a4b3032fb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Apache example config for hex-zero application
<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
|