From e326eacee55d5bff5fd18aefece07cd7f7daacee Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 28 Apr 2020 13:11:01 +0300 Subject: Add Apache2-based HTTP(S) caching proxy configuration --- INSTALL | 71 ++--------------------------------------------------------------- 1 file changed, 2 insertions(+), 69 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 00f7975..94fecf0 100644 --- a/INSTALL +++ b/INSTALL @@ -262,75 +262,8 @@ $ edit config/ci.xhtml # Add custom form fields, adjust CSS style, etc. For sample CI request handler implementations see brep/handler/ci/. Here we assume you have setup an appropriate Apache2 virtual server. Open the -corresponding Apache2 .conf file and add the following inside VirtualHost (you -can also find this fragment in install/share/brep/etc/brep-apache2.conf): - - # Load the brep module. - # - - LoadModule brep_module /home/brep/install/libexec/brep/mod_brep.so - - - # Repository email. This email is used for the From: header in emails - # send by brep (for example, build failure notifications). - # - brep-email admin@example.org - - # Repository host. It specifies the schema and the host address (but - # not the root path; see brep-root below) that will be used whenever - # brep needs to construct an absolute URL to one of its locations (for - # example, a link to a build log that is being send via email). - # - brep-host https://example.org - - # Repository root. This is the part of the URL between the host name - # and the start of the repository. For example, root value /pkg means - # the repository URL is http://example.org/pkg/. Specify / to use the - # web server root (e.g., http://example.org/). If using a different - # repository root, don't forget to also change Location and Alias - # directives below. - # - brep-root /pkg - - - SetHandler brep - - - DirectoryIndex disabled - DirectorySlash Off - - - - # Brep module configuration. If you prefer, you can paste the contents - # of this file here. However, you will need to prefix every option with - # 'brep-'. - # - brep-conf /home/brep/config/brep-module.conf - - # Static brep content (CSS files). - # - - Error "mod_alias is not enabled" - - - # Note: trailing slashes are important! - # - Alias /pkg/@/ /home/brep/install/share/brep/www/ - - - Require all granted - - - # You can also serve the repository files from the repository root. - # For example: - # - # http://example.org/pkg/1/... -> /path/to/repo/1/... - # - #AliasMatch ^/pkg/(\d+)/(.+) /path/to/repo/$1/$2 - # - # - # Require all granted - # +corresponding Apache2 .conf file and add the contents of +brep/etc/brep-apache2.conf into the section. The output content types of the brep module are application/xhtml+xml, text/manifest and text/plain. If you would like to make sure they get -- cgit v1.1