File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -774,7 +774,11 @@ public function configure_apps_vhost()
774774 //$content = str_replace('{fpm_port}', ($conf['nginx']['php_fpm_start_port']+1), $content);
775775 $ content = str_replace ('{fpm_socket} ' , $ fpm_socket , $ content );
776776 $ content = str_replace ('{cgi_socket} ' , $ cgi_socket , $ content );
777-
777+
778+ // SSL in apps vhost is off by default. Might change later.
779+ $ content = str_replace ('{ssl_on} ' , 'off ' , $ content );
780+ $ content = str_replace ('{ssl_comment} ' , '# ' , $ content );
781+
778782 wf ($ vhost_conf_dir .'/apps.vhost ' , $ content );
779783
780784 // PHP-FPM
Original file line number Diff line number Diff line change @@ -2075,6 +2075,10 @@ public function configure_apps_vhost() {
20752075 }
20762076 $ content = str_replace ('{use_tcp} ' , $ use_tcp , $ content );
20772077 $ content = str_replace ('{use_socket} ' , $ use_socket , $ content );
2078+
2079+ // SSL in apps vhost is off by default. Might change later.
2080+ $ content = str_replace ('{ssl_on} ' , 'off ' , $ content );
2081+ $ content = str_replace ('{ssl_comment} ' , '# ' , $ content );
20782082
20792083 wf ($ vhost_conf_dir .'/apps.vhost ' , $ content );
20802084
You can’t perform that action at this time.
0 commit comments