summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/vhosts/default.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/default.erb b/templates/vhosts/default.erb
index fdc9aee..9342d06 100644
--- a/templates/vhosts/default.erb
+++ b/templates/vhosts/default.erb
@@ -19,7 +19,7 @@ vhost_parts.each do |vhost_part|
AssignUserId <%= run_uid+" "+run_gid %>
</IfModule>
- <% elsif run_mode.to_s == 'fcgid' -%>
+ <% elsif run_mode.to_s == 'fcgid' && !(ssl_mode == 'force' && vhost_part == :normal) -%>
<IfModule mod_fcgid.c>
SuexecUserGroup <%= run_uid+" "+run_gid %>
FcgidMaxRequestsPerProcess 5000