Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wsgi hash documentation #2553

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,11 +507,13 @@ apache::vhost { 'wsgi.example.com':
port => 80,
docroot => '/var/www/pythonapp',
wsgi_application_group => '%{GLOBAL}',
wsgi_daemon_process => 'wsgi',
wsgi_daemon_process_options => {
processes => 2,
threads => 15,
display-name => '%{GROUP}',
wsgi_daemon_process => {
'wsgi' => {
processes => '2',
threads => '15',
display-name => '%{GROUP}',
},
'foo' => {},
},
wsgi_import_script => '/var/www/demo.wsgi',
wsgi_import_script_options => {
Expand Down
11 changes: 7 additions & 4 deletions manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -1188,19 +1188,22 @@
# apache::vhost { 'wsgi.example.com':
# port => 80,
# docroot => '/var/www/pythonapp',
# wsgi_daemon_process => 'wsgi',
# wsgi_daemon_process_options =>
# { processes => 2,
# threads => 15,
# wsgi_daemon_process => {
# 'wsgi' => {
# processes => '2',
# threads => '15',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know if we can use integers? If so, this may be preferable for consistency (even if there is no actual check of the data type).

# display-name => '%{GROUP}',
# },
# 'foo' => {},
# },
# wsgi_process_group => 'wsgi',
# wsgi_script_aliases => { '/' => '/var/www/demo.wsgi' },
# wsgi_chunked_request => 'On',
# }
# ```
#
# @param wsgi_daemon_process_options
# Depricated, move to wsgi_daemon_process
virot marked this conversation as resolved.
Show resolved Hide resolved
# Sets up a virtual host with [WSGI](https://github.com/GrahamDumpleton/mod_wsgi) alongside
# wsgi_daemon_process, wsgi_process_group,
# wsgi_script_aliases and wsgi_pass_authorization.<br />
Expand Down
Loading