zc.buildout recipe to create apache instances which serversZope content
Project description
Introduction
============
Recipe to generate Apache reverse proxy for Zope with SSL.
Example configuration
---------------------
[buildout]
parts =
my-frontend
[my-frontend]
recipe = erp5.recipe.apache
httpd_binary = /path/to/bin/httpd
openssl_binary = /path/to/bin/openssl
ip = ::1
port = 43214
server_name = localhost
backend_mapping =
127.0.0.1:16080/ /
127.0.0.1:16080/erp5 /erp5
127.0.0.1:16080/erp5 /differentview
127.0.0.1:16080/erp5/module/something /deep in
After running this profile:
- SSL keys will be generated and stored in var/my-fronted-ssl
- var/run and var/log directories will be prepared:
- var/run/my-fronted.pid will be available during run
- var/log/my-fronted_access.log and var/log/my-fronted_error.log will be updated
- parts/my-fronted/etc/my-frontend.conf will be generated
- bin/my-fronted wrapper will be ready to serve apache in foreground mode
VirtualHostMonster will be automatically configured to support backend mapping.
TODO
----
- convert README to docstring test
- use python entry point instead of shell script to generate wrapper
1.0 (unreleased)
----------------
- initial version
============
Recipe to generate Apache reverse proxy for Zope with SSL.
Example configuration
---------------------
[buildout]
parts =
my-frontend
[my-frontend]
recipe = erp5.recipe.apache
httpd_binary = /path/to/bin/httpd
openssl_binary = /path/to/bin/openssl
ip = ::1
port = 43214
server_name = localhost
backend_mapping =
127.0.0.1:16080/ /
127.0.0.1:16080/erp5 /erp5
127.0.0.1:16080/erp5 /differentview
127.0.0.1:16080/erp5/module/something /deep in
After running this profile:
- SSL keys will be generated and stored in var/my-fronted-ssl
- var/run and var/log directories will be prepared:
- var/run/my-fronted.pid will be available during run
- var/log/my-fronted_access.log and var/log/my-fronted_error.log will be updated
- parts/my-fronted/etc/my-frontend.conf will be generated
- bin/my-fronted wrapper will be ready to serve apache in foreground mode
VirtualHostMonster will be automatically configured to support backend mapping.
TODO
----
- convert README to docstring test
- use python entry point instead of shell script to generate wrapper
1.0 (unreleased)
----------------
- initial version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file erp5.recipe.apache-1.0.dev-r41446.tar.gz
.
File metadata
- Download URL: erp5.recipe.apache-1.0.dev-r41446.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45dd821fb80dada053e9ed16e51d599c88872b713f39e0f4ce55504c3f2d7696 |
|
MD5 | 4d5372afcb1cff3d14c1a088f7faac23 |
|
BLAKE2b-256 | cc84f7929f1ad527a338e780b240693d92c35e9798a013725455e9e1f8147792 |