mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
python3: Fix REMOTE_USER Apache configuration for Python 3.
We were previously still installing the Python 2 version of mod_wsgi, which of course doesn't work and can't use the Zulip virtualenv.
This commit is contained in:
parent
d91e49b681
commit
89b97e7480
@ -1,9 +1,12 @@
|
||||
class zulip::apache_sso {
|
||||
include zulip::localhost_sso
|
||||
|
||||
$apache_packages = [ "apache2", "libapache2-mod-wsgi", ]
|
||||
$apache_packages = [ "apache2", "libapache2-mod-wsgi-py3", ]
|
||||
package { $apache_packages: ensure => "installed" }
|
||||
|
||||
$apache_former_packages = [ "apache2", "libapache2-mod-wsgi", ]
|
||||
package { $apache_legacy_packages: ensure => "absent" }
|
||||
|
||||
apache2mod { [ "headers", "proxy", "proxy_http", "rewrite", "ssl", ]:
|
||||
ensure => present,
|
||||
require => Package['apache2'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user