Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 848 Bytes
<VirtualHost *:80>
# Add FQDN/URL for your minicron server and
# add your webmaster or your admins email address
servername minicron.domain.local
serveradmin webmaster@domain.local
# This section specifies your authentication settings
# Make user your AUTHUSERFILE is created using htpasswd
<Proxy *>
AuthType Basic
AuthName "Authentication Required"
AuthUserFile /etc/apache2/htpasswd.users
Require valid-user
</Proxy>
# This section redirects all traffic from port 80 to
# minicrons port 9292 using mod_proxy and mod_proxy_http
ProxyPass / http://localhost:9292/
ProxyPassReverse / http://localhost:9292/
# Logging
ErrorLog ${APACHE_LOG_DIR}/error.minicron.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.minicron.log combined
</VirtualHost>
You can’t perform that action at this time.