apache: Allow disabling mod_wsgi's embedded mode
This commit is contained in:
parent
583f687dfb
commit
345a8f9589
2 changed files with 49 additions and 2 deletions
8
apache/templates/wsgi.conf.erb
Normal file
8
apache/templates/wsgi.conf.erb
Normal file
|
@ -0,0 +1,8 @@
|
|||
LoadModule wsgi_module modules/mod_wsgi.so
|
||||
WSGISocketPrefix /var/run/mod_wsgi/wsgi
|
||||
<% if @embedded == false -%>
|
||||
WSGIRestrictEmbedded On
|
||||
<% end -%>
|
||||
|
||||
SetEnv WSGI_PROCESS_GROUP
|
||||
WSGIProcessGroup %{ENV:WSGI_PROCESS_GROUP}
|
Loading…
Add table
Add a link
Reference in a new issue