fix for ssl nginx config check

This commit is contained in:
Kyle Drake 2014-09-10 13:56:45 -07:00
parent 7020edc5e7
commit 555e64ac97

2
app.rb
View file

@ -616,9 +616,9 @@ post '/settings/ssl' do
nginx_testfile.write %{ nginx_testfile.write %{
pid /tmp/throwaway.pid; pid /tmp/throwaway.pid;
events {} events {}
error_log /dev/null error;
http { http {
access_log off; access_log off;
error_log /dev/null error;
server { server {
listen 60000 ssl; listen 60000 ssl;
server_name #{current_site.domain} *.#{current_site.domain}; server_name #{current_site.domain} *.#{current_site.domain};